aboutsummaryrefslogtreecommitdiff
path: root/byobu/.byobu/bin/60_mail.sh
diff options
context:
space:
mode:
Diffstat (limited to 'byobu/.byobu/bin/60_mail.sh')
-rwxr-xr-xbyobu/.byobu/bin/60_mail.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/byobu/.byobu/bin/60_mail.sh b/byobu/.byobu/bin/60_mail.sh
new file mode 100755
index 0000000..7ba67f2
--- /dev/null
+++ b/byobu/.byobu/bin/60_mail.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ $(find Maildir/cur/ -ctime -1 -type f -not \( -name '*:2,*S*' \) | wc -l) -ne 0 ]
+then
+ printf "#[bg=#FF0000]courriel"
+ echo
+fi