From 8e4862e25a3d7f359895eb36a23476e131364cb0 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 22 Jul 2018 18:01:27 -0400 Subject: [rc/sway] add volume key bindings depends: pactl (from pulseaudio) pamixer --- rc.org | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3-60-g2f50