right click on modules shows module info

This commit is contained in:
Luke Smith
2018-11-11 21:27:04 -05:00
parent 9fd0e65754
commit debbe40d2c
6 changed files with 46 additions and 12 deletions

View File

@@ -5,7 +5,12 @@
# When clicked, brings up `neomutt`.
case $BLOCK_BUTTON in
1) $TERMINAL -e neomutt ;;
1) "$TERMINAL" -e neomutt ;;
3) pgrep -x dunst >/dev/null && notify-send "<b>📬 Mail module:</b>
- Shows unread mail
- Left click opens neomutt" ;;
esac
echo "$(du -a ~/.mail/*/INBOX/new/* | sed -n '$=')" $(cat ~/.config/mutt/.dl)
echo "$(du -a ~/.mail/*/INBOX/new/* 2>/dev/null | sed -n '$=')$(cat ~/.config/mutt/.dl 2>/dev/null)"