summaryrefslogtreecommitdiff
path: root/offlineimap-notification
diff options
context:
space:
mode:
Diffstat (limited to 'offlineimap-notification')
-rwxr-xr-xofflineimap-notification11
1 files changed, 0 insertions, 11 deletions
diff --git a/offlineimap-notification b/offlineimap-notification
deleted file mode 100755
index eeecff0..0000000
--- a/offlineimap-notification
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/zsh
-
-new="$(find $HOME/.mail/*/inbox/new/ -type f | wc -l)"
-old="$(find $HOME/.mail/*/inbox/cur/ -type f | wc -l)"
-
-if [ $new -gt 0 ]
-then
- export DISPLAY=:0; export XAUTHORITY=~/.Xauthority;
- notify-send "You've got mail."
-fi
-