ding now ogg & played with pa

This commit is contained in:
Luke Smith 2019-02-22 17:41:01 -05:00
parent 977b03349a
commit 77c89b16cc
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252
4 changed files with 4 additions and 4 deletions

View File

@ -41,15 +41,15 @@ mutt-wizard is configured by default for you to use other useful tools, but thes
## New stuff and improvements since the original release ## New stuff and improvements since the original release
- `dialog` is no long used and the interface is simply text. - `dialog` is no long used (le bloat) and the interface is simply text.
- More autogenerated shortcuts that allow quickly moving and copying mail between boxes. - More autogenerated shortcuts that allow quickly moving and copying mail between boxes.
- More elegant attachment handling. Image/video/pdf attachments without relying on the neomutt instance. - More elegant attachment handling. Image/video/pdf attachments without relying on the neomutt instance.
- abook integration by default. - abook integration by default.
- The messy template files have been removed and are now a part of the script itself. - The messy template files have been removed and are now a part of the script itself.
- Optimal XDG standards compliance, moving offlineimap and msmtp configs to `~/.config/` and moving mail to `~/.local/share/mail/`. - Optimal XDG standards compliance, moving offlineimap and msmtp configs to `~/.config/` and moving mail to `~/.local/share/mail/`.
- `accounts/` hold account data and `bin/` holds script run by for for mutt. All other directories have been disintegrated. - `accounts/` hold account data and `bin/` holds script run by or for mutt. All other directories have been disintegrated.
- Better handling of different gpg versions. - Better handling of different gpg versions.
- Narrow POSIX compliance because why not? - Script is POSIX sh compliance.
## Known issues (not my fault!) ## Known issues (not my fault!)

View File

@ -16,7 +16,7 @@ if [ "$(uname)" = "Darwin" ]
then then
notify() { osascript -e "display notification \"$2 in $1\" with title \"You've got Mail\" subtitle \"Account: $account\"" && sleep 2 ;} notify() { osascript -e "display notification \"$2 in $1\" with title \"You've got Mail\" subtitle \"Account: $account\"" && sleep 2 ;}
else else
notify() { mpv --really-quiet "$HOME/.config/mutt/bin/notify.opus" & pgrep -x dunst && notify-send "📬 $2 new mail(s) in \`$1\` account." ;} notify() { paplay "$HOME/.config/mutt/bin/notify.ogg" & pgrep -x dunst && notify-send "📬 $2 new mail(s) in \`$1\` account." ;}
fi fi
echo " 🔃" > /tmp/imapsyncicon echo " 🔃" > /tmp/imapsyncicon

BIN
bin/notify.ogg Normal file

Binary file not shown.

Binary file not shown.