From da24f0ab7630c3a26381a4bdf1534169b88cb354 Mon Sep 17 00:00:00 2001 From: Yaroslav de la Peña Smirnov Date: Wed, 11 Nov 2026 19:47:52 +0300 Subject: mailsync, pacsync: update notifications Use icons, be transient, etc. --- dotfiles/.local/bin/mailsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dotfiles/.local/bin/mailsync') diff --git a/dotfiles/.local/bin/mailsync b/dotfiles/.local/bin/mailsync index 42b8079..ad69337 100755 --- a/dotfiles/.local/bin/mailsync +++ b/dotfiles/.local/bin/mailsync @@ -33,7 +33,7 @@ do account="$(echo "$mailbox" | sed "s/.*\///")" newcount=$(find "$HOME/.local/share/mail/$account/INBOX/new/" "$HOME/.local/share/mail/$account/Inbox/new/" "$HOME/.local/share/mail/$account/inbox/new/" -type f -newer "$HOME/.cache/lastmailsync" 2> /dev/null | wc -l) if [ "$newcount" -gt "0" ]; then - notify-send "📬 Email" "$newcount new mail(s) in \`$account\` mailbox." + notify-send -a "E-mail" -i mail-client "$newcount new mail(s) in \`$account\` mailbox." thereis=1 fi done -- cgit v1.3.1