From: Amin Bandali Date: Sun, 22 Jul 2018 22:01:27 +0000 (-0400) Subject: [rc/sway] add volume key bindings X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/8e4862e25a3d7f359895eb36a23476e131364cb0?ds=inline;hp=bb93c9e100723ad7b5311a35f600adb856456f85 [rc/sway] add volume key bindings depends: pactl (from pulseaudio) pamixer --- diff --git a/rc.org b/rc.org index 20bb8bd..bad5252 100644 --- a/rc.org +++ b/rc.org @@ -3749,6 +3749,11 @@ input "1:1:AT_Translated_Set_2_keyboard" { bindsym XF86MonBrightnessUp exec light -A 5 # increase screen brightness bindsym XF86MonBrightnessDown exec light -U 5 # decrease screen brightness + bindsym XF86AudioRaiseVolume exec pamixer --allow-boost --increase 5 + bindsym XF86AudioLowerVolume exec pamixer --allow-boost --decrease 5 + bindsym XF86AudioMute exec pamixer --toggle-mute + bindsym XF86AudioMicMute exec pactl set-source-mute 1 toggle + # bspwm-esque workspace switch and window move bindsym $mod+bracketleft exec sway-ws-util switch prev bindsym $mod+bracketright exec sway-ws-util switch next