use pamixer, which is much faster

This commit is contained in:
Luke Smith 2020-04-14 20:37:22 -04:00
parent e88b3a72b8
commit 05f9c3b707
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -9,9 +9,9 @@ case $BLOCK_BUTTON in
# 4) amixer sset Master 5%+ >/dev/null 2>/dev/null ;;
# 5) amixer sset Master 5%- >/dev/null 2>/dev/null ;;
1) setsid "$TERMINAL" -e pulsemixer & ;;
2) pulsemixer --toggle-mute ;;
4) pulsemixer --change-volume +5 ;;
5) pulsemixer --change-volume -5 ;;
2) pamixer -t ;;
4) pamixer --allow-boost -i 1 ;;
5) pamixer --allow-boost -d 1 ;;
3) notify-send "📢 Volume module" "\- Shows volume 🔊, 🔇 if muted.
- Middle click to mute.
- Scroll to change."