Map hardware keys Signed-off-by: Anirudh <icyph0x@pm.me>
Anirudh icyph0x@pm.me
Wed, 12 Jun 2019 11:02:34 +0530
1 files changed,
16 insertions(+),
0 deletions(-)
jump to
M
i3/config
→
i3/config
@@ -201,3 +201,19 @@ bindsym $mod+q workspace next
# rofi-pass bindsym $mod+p exec "rofi-pass" + +# volume controls +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% +bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle + +# brightness controls +bindsym XF86MonBrightnessUp exec xbacklight -inc 5 +bindsym XF86MonBrightnessDown exec xbacklight -dec 5 + +# media player controls + +bindsym XF86AudioPlay exec playerctl play +bindsym XF86AudioPause exec playerctl pause +bindsym XF86AudioNext exec playerctl next +bindsym XF86AudioPrev exec playerctl previous