sway: Add bindings for audio volume control based on WirePlumber
This commit is contained in:
parent
4b0e5c04ee
commit
fcc18b4859
|
@ -237,6 +237,11 @@ bindsym Shift+F10 exec grimshot --notify save screen
|
||||||
bindsym Ctrl+Tab workspace next
|
bindsym Ctrl+Tab workspace next
|
||||||
bindsym Ctrl+grave workspace prev
|
bindsym Ctrl+grave workspace prev
|
||||||
|
|
||||||
|
# Audio volume (WirePlumber)
|
||||||
|
bindsym --locked XF86AudioRaiseVolume exec "wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%+"
|
||||||
|
bindsym --locked XF86AudioLowerVolume exec "wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-"
|
||||||
|
bindsym --locked XF86AudioMute exec "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||||
|
|
||||||
bar {
|
bar {
|
||||||
swaybar_command waybar
|
swaybar_command waybar
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue