Use symbolic pulseaudio devices in bindsym mappings

This commit is contained in:
Dan Buch 2023-10-01 09:28:09 -04:00
parent 0a7779ea5e
commit 830a9f4ef3
Signed by: meatballhat
GPG Key ID: A12F782281063434

View File

@ -155,10 +155,10 @@ input "type:touchpad" {
bindsym --locked Xf86MonBrightnessDown exec brightnessctl set 5%-
bindsym --locked Xf86MonBrightnessUp exec brightnessctl set 5%+
bindsym --locked XF86AudioMicMute exec pactl set-source-mute 1 toggle
bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume 0 -1000
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume 0 +1000
bindsym --locked XF86AudioMute exec pactl set-sink-mute 0 toggle
bindsym --locked XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -1000
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +1000
bindsym --locked XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym Print exec grim -g "$(slurp)" - | swappy -f -
bindsym $mod+Print exec grim - | swappy -f -