hash revised this gist . Go to revision
1 file changed, 9 insertions
statusbar.sh(file created)
| @@ -0,0 +1,9 @@ | |||
| 1 | + | #!/bin/sh | |
| 2 | + | ||
| 3 | + | while true | |
| 4 | + | do | |
| 5 | + | email="$(notmuch count tag:unread and tag:inbox)" | |
| 6 | + | local="$(date +"%A %Y-%m-%d %H:%M")" | |
| 7 | + | printf "📥 %s | 📅 %s\n" "$email" "$local" | |
| 8 | + | sleep 10 | |
| 9 | + | done | |
Newer
Older