diff options
author | eug-vs <eug-vs@keemail.me> | 2021-07-07 05:47:23 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-07-07 05:47:23 +0300 |
commit | 13942ecafb34e16997940716dcbd4e81e6e0d6cb (patch) | |
tree | 0e5116db38a9bed347e44ff41c21233950ed1de4 | |
parent | 68c7e3fd76b9265b84008b92661bc50105f7a386 (diff) | |
download | dwmblocks-13942ecafb34e16997940716dcbd4e81e6e0d6cb.tar.gz |
feat: add taskwarrior blocks
-rw-r--r-- | blocks.def.h | 4 |
1 files changed, 3 insertions, 1 deletions
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}, |