mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2025-10-07 07:22:36 +02:00
Fix sb-volume (toggle mute, scroll volume change) (#1411)
the current wpctl version does not support @DEFAULT_AUDIO_SINK@, but works with @DEFAULT_SINK@ quick fix
This commit is contained in:
parent
dda032a37d
commit
e8ba78c518
@ -4,9 +4,9 @@
|
||||
|
||||
case $BLOCK_BUTTON in
|
||||
1) setsid -w -f "$TERMINAL" -e pulsemixer; pkill -RTMIN+10 "${STATUSBAR:-dwmblocks}" ;;
|
||||
2) wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle ;;
|
||||
4) wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+ ;;
|
||||
5) wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%- ;;
|
||||
2) wpctl set-mute @DEFAULT_SINK@ toggle ;;
|
||||
4) wpctl set-volume @DEFAULT_SINK@ 1%+ ;;
|
||||
5) wpctl set-volume @DEFAULT_SINK@ 1%- ;;
|
||||
3) notify-send "📢 Volume module" "\- Shows volume 🔊, 🔇 if muted.
|
||||
- Middle click to mute.
|
||||
- Scroll to change." ;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user