diff options
Diffstat (limited to 'mbsync/.local/bin')
-rwxr-xr-x | mbsync/.local/bin/maildir-notify | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/mbsync/.local/bin/maildir-notify b/mbsync/.local/bin/maildir-notify index f598f69..4250bfe 100755 --- a/mbsync/.local/bin/maildir-notify +++ b/mbsync/.local/bin/maildir-notify @@ -10,10 +10,6 @@ inotifywait --monitor --event create --event moved_to "$@" | while read -r dir _action file; do grep '^\(Subject\|From\|To\): .*$' <"${dir}${file}" | sed -e 's/</\<\;/g' -e 's/>/\>\;/g' | - notify-send \ - -a 'maildir-notify' \ - -c 'email.arrived' \ - -i 'mail-unread-symbolic' \ - 'You have new mail' \ - "$(cat -)" + notify-send -a maildir-notify -c email.arrived -i mail-unread \ + 'You have new mail' "$(cat -)" done |