From 86bda792526ffbd675afd3e0841cce517187bde6 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Tue, 19 May 2020 16:55:44 -0400 Subject: added screencasting script, mail block, minor tweaks --- i3blocks-mail.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 i3blocks-mail.sh (limited to 'i3blocks-mail.sh') 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" -- cgit v1.2.3