diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-08-24 10:23:00 +0200 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-08-24 10:23:00 +0200 |
commit | bbc86964279a08dd08bf76fc4a3fc28be701a723 (patch) | |
tree | 4bacbf58b2442a9eff646f4c14b7081f307d94ae | |
parent | Removed padding in status script (diff) | |
download | dwm-bbc86964279a08dd08bf76fc4a3fc28be701a723.tar.gz dwm-bbc86964279a08dd08bf76fc4a3fc28be701a723.tar.bz2 dwm-bbc86964279a08dd08bf76fc4a3fc28be701a723.zip |
Added todo to status script
-rwxr-xr-x | scripts/dwm-status | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/scripts/dwm-status b/scripts/dwm-status index 8b05432..32cf87a 100755 --- a/scripts/dwm-status +++ b/scripts/dwm-status @@ -87,6 +87,17 @@ updates() { fi } +todo() { + command -v t >/dev/null 2>&1 && + echo "$(t | wc -l)" && + echo "$delim" +} + +mail() { + command -v neomutt >/dev/null 2>&1 && + du -a ~/Mail/INBOX/new/* 2>/dev/null | wc -l | sed 's/^/: /' && + echo "$delim" +} tor() { @@ -219,10 +230,9 @@ status() { \ updates - # Show unread mail - command -v neomutt >/dev/null 2>&1 && - du -a ~/Mail/INBOX/new/* 2>/dev/null | wc -l | sed 's/^/: /' && - echo "$delim" + todo + + mail volume |