commit 43a44f62fbe2feea73a69c1404871bf0b0c455a1 parent d34664be965ed82706c7ecde415637fbd83b3621 Author: Chris Bracken <chris@bracken.jp> Date: Sun, 5 Apr 2020 22:19:55 -0700 Add volume/media controls to Sway WM config Diffstat:
M | .config/sway/config | | | 16 | ++++++++++++++++ |
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/.config/sway/config b/.config/sway/config @@ -110,6 +110,22 @@ input * { bindsym $mod+Shift+e exec ~/.config/sway/exit_check.sh # +# Volume control: +# +bindsym Control+$mod+F12 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% +bindsym Control+$mod+F11 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% + +bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% +bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% +bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle +bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle +bindsym XF86MonBrightnessDown exec brightnessctl set 5%- +bindsym XF86MonBrightnessUp exec brightnessctl set +5% +bindsym XF86AudioPlay exec playerctl play-pause +bindsym XF86AudioNext exec playerctl next +bindsym XF86AudioPrev exec playerctl previous + +# # Moving around: # # Move your focus around