From b33f5c8f59f908cfbcf92459cc5ff67863a35443 Mon Sep 17 00:00:00 2001 From: mitchell Date: Sun, 31 Jan 2021 19:33:54 -0500 Subject: [PATCH] Add media controls to sxhkdrc --- .config/sxhkd/sxhkdrc | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 6ac949c..fd46132 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -31,6 +31,32 @@ super + Escape alt + l physlock +# media controls +super + {@minus,@equal} + pactl set-sink-volume '@DEFAULT_SINK@' {-,+}10% + +XF86AudioRaiseVolume + pactl set-sink-volume '@DEFAULT_SINK@' +10% + +XF86AudioLowerVolume + pactl set-sink-volume '@DEFAULT_SINK@' -10% + +XF86AudioPlay + playerctl play + +XF86AudioPause + playerctl pause + +XF86AudioNext + playerctl next + +XF86AudioPrev + playerctl previous + +# brightness +super + shift + {@underscore,@plus} + light -{U,A} 10 + # # bspwm hotkeys #