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

@@ -2,9 +2,13 @@
case $BLOCK_BUTTON in
1) setsid "$TERMINAL" -e pulsemixer & ;;
3) pulsemixer --toggle-mute ;;
2) pulsemixer --toggle-mute ;;
4) pulsemixer --change-volume +5 ;;
5) pulsemixer --change-volume -5 ;;
3) pgrep -x dunst >/dev/null && notify-send "<b>Volume module:</b>
- Shows volume 🔊, 🔇 if muted.
- Middle click to mute.
- Scroll to change."
esac
[ "$(pulsemixer --get-mute)" = "1" ] && printf "🔇\\n" && exit