all repos — dotfiles @ 66685f57ae84a5c60e122e61fb958d8d5372d994

my *nix dotfiles

Map hardware keys

Signed-off-by: Anirudh <icyph0x@pm.me>
Anirudh icyph0x@pm.me
Wed, 12 Jun 2019 11:02:34 +0530
commit

66685f57ae84a5c60e122e61fb958d8d5372d994

parent

be1efe213be97eb7d24f867e6e1b3a4f9ec468a0

1 files changed, 16 insertions(+), 0 deletions(-)

jump to
M i3/configi3/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