commit 77c89b16cc6f7c2816e95532fbde5267344c7404 parent 977b03349ab54dd013387b61cf5c0dfb2dc49b88 Author: Luke Smith <luke@lukesmith.xyz> Date: Fri, 22 Feb 2019 17:41:01 -0500 ding now ogg & played with pa Diffstat:
M | README.md | | | 6 | +++--- |
M | bin/mailsync | | | 2 | +- |
A | bin/notify.ogg | | | 0 | |
D | bin/notify.opus | | | 0 |
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md @@ -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 -- `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 elegant attachment handling. Image/video/pdf attachments without relying on the neomutt instance. - abook integration by default. - 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/`. -- `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. -- Narrow POSIX compliance because why not? +- Script is POSIX sh compliance. ## Known issues (not my fault!) diff --git a/bin/mailsync b/bin/mailsync @@ -16,7 +16,7 @@ if [ "$(uname)" = "Darwin" ] then notify() { osascript -e "display notification \"$2 in $1\" with title \"You've got Mail\" subtitle \"Account: $account\"" && sleep 2 ;} 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 echo " 🔃" > /tmp/imapsyncicon diff --git a/bin/notify.ogg b/bin/notify.ogg Binary files differ. diff --git a/bin/notify.opus b/bin/notify.opus Binary files differ.