86bda79
cab073a
1 2 3
4 5 6
#!/bin/sh icon= unread=$(ls ~/.mail/gmail/Inbox/new/ | wc -l | cut -w -f2) [ $unread -gt 0 ] && printf "%s%s" $icon $unread && notify-send "$unread unread email(s)" printf "\n"