diff options
-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 |