Use wpctl to change volume (#1248)
This commit is contained in:
parent
450745a467
commit
588aeb9a1e
1 changed files with 3 additions and 3 deletions
|
@ -4,9 +4,9 @@
|
||||||
|
|
||||||
case $BLOCK_BUTTON in
|
case $BLOCK_BUTTON in
|
||||||
1) setsid -f "$TERMINAL" -e pulsemixer ;;
|
1) setsid -f "$TERMINAL" -e pulsemixer ;;
|
||||||
2) pamixer -t ;;
|
2) wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle ;;
|
||||||
4) pamixer --allow-boost -i 1 ;;
|
4) wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+ ;;
|
||||||
5) pamixer --allow-boost -d 1 ;;
|
5) wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%- ;;
|
||||||
3) notify-send "📢 Volume module" "\- Shows volume 🔊, 🔇 if muted.
|
3) notify-send "📢 Volume module" "\- Shows volume 🔊, 🔇 if muted.
|
||||||
- Middle click to mute.
|
- Middle click to mute.
|
||||||
- Scroll to change." ;;
|
- Scroll to change." ;;
|
||||||
|
|
Loading…
Reference in a new issue