From 13942ecafb34e16997940716dcbd4e81e6e0d6cb Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 7 Jul 2021 05:47:23 +0300 Subject: feat: add taskwarrior blocks --- blocks.def.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/blocks.def.h b/blocks.def.h index 7b602c7..bc7d3b3 100644 --- a/blocks.def.h +++ b/blocks.def.h @@ -1,7 +1,9 @@ //Modify this file to change what commands output to your statusbar, and recompile using the make command. static const Block blocks[] = { /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/ - {" ", "playerctl metadata --format='{{ artist }} - {{ title }}' --player=ncspot 2> /dev/null", 3, 1}, + {" ", "playerctl metadata --format='{{ artist }} - {{ title }}' --player=spotify 2> /dev/null", 3, 1}, + {" ", "task _get rc.context", 60, 0}, + {" ", "task scriptable rc.verbose: +ACTIVE | head -n1", 15, 0}, {"", "xkb-switch", 0, 4}, {"", "~/.local/share/i3blocks-modules/volume -np", 0, 2}, {"", "~/.local/share/i3blocks-modules/backlight -np", 0, 3}, -- cgit v1.2.3