aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-07-07 05:47:23 +0300
committereug-vs <eug-vs@keemail.me>2021-07-07 05:47:23 +0300
commit13942ecafb34e16997940716dcbd4e81e6e0d6cb (patch)
tree0e5116db38a9bed347e44ff41c21233950ed1de4
parent68c7e3fd76b9265b84008b92661bc50105f7a386 (diff)
downloaddwmblocks-13942ecafb34e16997940716dcbd4e81e6e0d6cb.tar.gz
feat: add taskwarrior blocks
-rw-r--r--blocks.def.h4
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},