diff options
| author | Patrick Simianer <p@simianer.de> | 2017-04-02 23:04:13 +0200 |
|---|---|---|
| committer | Patrick Simianer <p@simianer.de> | 2017-04-02 23:04:13 +0200 |
| commit | c5589d1625c26489b7a26f2bdab06b5a05513107 (patch) | |
| tree | d023879b13dc8aa911b902ff319532251c17f1d6 /offlineimap-notification | |
| parent | 4aa1bbc76d00c1fd6ef624f8f745812c9fe9d9e2 (diff) | |
sync-mail
Diffstat (limited to 'offlineimap-notification')
| -rwxr-xr-x | offlineimap-notification | 11 |
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 - |
