From c5589d1625c26489b7a26f2bdab06b5a05513107 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sun, 2 Apr 2017 23:04:13 +0200 Subject: sync-mail --- offlineimap-notification | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100755 offlineimap-notification (limited to 'offlineimap-notification') 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 - -- cgit v1.2.3