diff options
author | Adam T. Carpenter <atc@53hor.net> | 2020-05-19 16:55:44 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2020-05-19 16:55:44 -0400 |
commit | 86bda792526ffbd675afd3e0841cce517187bde6 (patch) | |
tree | b99117826b702daed7d1b32ac0eac2bc3cc78779 /i3blocks-mail.sh | |
parent | 0ce7301d8799ba91a0d57ab208e2d80d20935a83 (diff) | |
download | scripts-86bda792526ffbd675afd3e0841cce517187bde6.tar.xz scripts-86bda792526ffbd675afd3e0841cce517187bde6.zip |
added screencasting script, mail block, minor tweaks
Diffstat (limited to 'i3blocks-mail.sh')
-rwxr-xr-x | i3blocks-mail.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/i3blocks-mail.sh b/i3blocks-mail.sh new file mode 100755 index 0000000..ecc45ff --- /dev/null +++ b/i3blocks-mail.sh @@ -0,0 +1,5 @@ +#!/bin/sh +icon= + +unread=$(ls -l ~/.mail/gmail/Inbox/new | wc -l | cut -w -f2) +[ $unread -gt 0 ] && printf "%s%s\n" $icon $unread && notify-send "$unread unread emails" |