diff options
author | Amin Bandali <amin@aminb.org> | 2018-07-22 18:01:27 -0400 |
---|---|---|
committer | Amin Bandali <amin@aminb.org> | 2018-07-22 18:01:27 -0400 |
commit | 8e4862e25a3d7f359895eb36a23476e131364cb0 (patch) | |
tree | 90a329882c58aaba6293cd6be418516057d00130 | |
parent | bb93c9e100723ad7b5311a35f600adb856456f85 (diff) | |
download | configs-8e4862e25a3d7f359895eb36a23476e131364cb0.tar.gz configs-8e4862e25a3d7f359895eb36a23476e131364cb0.tar.xz configs-8e4862e25a3d7f359895eb36a23476e131364cb0.zip |
[rc/sway] add volume key bindings
depends: pactl (from pulseaudio) pamixer
Diffstat (limited to '')
-rw-r--r-- | rc.org | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |