aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mbsync/.local/bin/maildir-notify
diff options
context:
space:
mode:
Diffstat (limited to 'mbsync/.local/bin/maildir-notify')
-rwxr-xr-xmbsync/.local/bin/maildir-notify8
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/</\&lt\;/g' -e 's/>/\&gt\;/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