statusbar.sh
· 189 B · Bash
Eredeti
#!/bin/sh
while true
do
email="$(notmuch count tag:unread and tag:inbox)"
local="$(date +"%A %Y-%m-%d %H:%M")"
printf "📥 %s | 📅 %s\n" "$email" "$local"
sleep 10
done
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 |
10 |