diff options
author | Patrick Simianer <p@simianer.de> | 2016-09-30 13:08:17 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-09-30 13:08:17 +0200 |
commit | f9339d5553a7c62420a2bd0344bdebdedc11910e (patch) | |
tree | 080260253cfb6dad328fde571249316165229d29 /offlineimap-notification | |
parent | ef7e7ba972b49b32be396b765ff3055e76ac8dd8 (diff) |
offlineimap-notification: only inbox
Diffstat (limited to 'offlineimap-notification')
-rwxr-xr-x | offlineimap-notification | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/offlineimap-notification b/offlineimap-notification index 35abb24..eeecff0 100755 --- a/offlineimap-notification +++ b/offlineimap-notification @@ -1,11 +1,11 @@ #!/usr/bin/zsh -new="$(find $HOME/.mail/*/*/new/ -type f | wc -l)" -old="$(find $HOME/.mail/*/*/cur/ -type f | wc -l)" +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." + export DISPLAY=:0; export XAUTHORITY=~/.Xauthority; + notify-send "You've got mail." fi |