Browse Source

added timewarrior status

Fabian Peter Hammerle 4 years ago
parent
commit
8474031941
1 changed files with 4 additions and 0 deletions
  1. 4 0
      config

+ 4 - 0
config

@@ -2,6 +2,10 @@ command=/usr/share/i3blocks/$BLOCK_NAME
 separator_block_width=32
 markup=none
 
+[timewarrior]
+command=timew | grep -Po 'Tracking \K.*' || (echo timew inactive; exit 33)
+interval=60
+
 [key]
 full_text=key
 command=gpg-connect-agent 'GET_PASSPHRASE --no-ask KEYGRIP error prompt desc' /bye | grep --quiet OK || exit 33