From 77c89b16cc6f7c2816e95532fbde5267344c7404 Mon Sep 17 00:00:00 2001
From: Luke Smith <luke@lukesmith.xyz>
Date: Fri, 22 Feb 2019 17:41:01 -0500
Subject: ding now ogg & played with pa

---
 README.md       |   6 +++---
 bin/mailsync    |   2 +-
 bin/notify.ogg  | Bin 0 -> 19247 bytes
 bin/notify.opus | Bin 28900 -> 0 bytes
 4 files changed, 4 insertions(+), 4 deletions(-)
 create mode 100644 bin/notify.ogg
 delete mode 100644 bin/notify.opus

diff --git a/README.md b/README.md
index 877e377..ebbf59f 100644
--- 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
index b6b728f..a412254 100755
--- 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
new file mode 100644
index 0000000..b20092e
Binary files /dev/null and b/bin/notify.ogg differ
diff --git a/bin/notify.opus b/bin/notify.opus
deleted file mode 100644
index a76ce32..0000000
Binary files a/bin/notify.opus and /dev/null differ
-- 
cgit v1.2.3