mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
Use wpctl to change volume (#1248)
This commit is contained in:
parent
450745a467
commit
588aeb9a1e
@ -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…
x
Reference in New Issue
Block a user