feat(sway): limit max. audio level to 100% through WirePlumber
This commit is contained in:
parent
d906970d88
commit
fab5a75b28
1 changed files with 3 additions and 2 deletions
|
|
@ -199,8 +199,9 @@ bindsym ctrl+alt+shift+r mode "RESIZE"
|
|||
# Get the device ID with `wpctl status` or use @DEFAULT_AUDIO_SINK@
|
||||
bindsym --locked XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
# bindsym --release XF86AudioMute exec pkill -USR1 swaybar
|
||||
bindsym --locked XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.01-
|
||||
bindsym --locked XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.01+
|
||||
# `-l` sets max volume level
|
||||
bindsym --locked XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02- -l 1.0
|
||||
bindsym --locked XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02+ -l 1.0
|
||||
# FIXME: https://wiki.archlinux.org/title/MPRIS
|
||||
# bindsym --locked XF86AudioPause exec wpctl set-mute 48 toggle
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue