aboutsummaryrefslogtreecommitdiff
path: root/config/i3blocks/scripts/email
diff options
context:
space:
mode:
Diffstat (limited to 'config/i3blocks/scripts/email')
-rwxr-xr-xconfig/i3blocks/scripts/email5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/i3blocks/scripts/email b/config/i3blocks/scripts/email
new file mode 100755
index 0000000..138deb8
--- /dev/null
+++ b/config/i3blocks/scripts/email
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+email-unread -s | tr "\n" " " | sed 's/[ ]*$/\n/'
+echo
+echo "#ffff00"