fix for dunst update

This commit is contained in:
Luke Smith
2019-04-02 19:20:26 -04:00
parent 72095821e9
commit fd57c4350b
15 changed files with 21 additions and 38 deletions

View File

@@ -7,11 +7,10 @@
case $BLOCK_BUTTON in
1) "$TERMINAL" -e neomutt ;;
2) setsid $HOME/.config/mutt/etc/mailsync.sh >/dev/null & ;;
3) pgrep -x dunst >/dev/null && notify-send "<b>📬 Mail module:</b>
- Shows unread mail
3) pgrep -x dunst >/dev/null && notify-send "📬 Mail module" "\- Shows unread mail
- Shows 🔃 if syncing mail
- Left click opens neomutt
- Middle click syncs mail" ;;
esac
echo "$(du -a ~/.mail/*/INBOX/new/* 2>/dev/null | sed -n '$=')$(cat /tmp/imapsyncicon 2>/dev/null)"
echo "$(du -a ~/.local/share/mail/*/INBOX/new/* 2>/dev/null | sed -n '$=')$(cat /tmp/imapsyncicon 2>/dev/null)"