diff options
| author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2026-11-11 19:47:52 +0300 |
|---|---|---|
| committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2026-11-11 19:47:52 +0300 |
| commit | da24f0ab7630c3a26381a4bdf1534169b88cb354 (patch) | |
| tree | 4bb164f8393145ed6f279dec2d8a231a082175b9 /dotfiles/.local/bin/mailsync | |
| parent | db1c45b344e02b0f4b89e15355a183d02c8f43e5 (diff) | |
| download | swayrice-da24f0ab7630c3a26381a4bdf1534169b88cb354.tar.gz swayrice-da24f0ab7630c3a26381a4bdf1534169b88cb354.zip | |
mailsync, pacsync: update notificationsniri
Use icons, be transient, etc.
Diffstat (limited to 'dotfiles/.local/bin/mailsync')
| -rwxr-xr-x | dotfiles/.local/bin/mailsync | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
