From 6d136d4fdd9f9a3c24e278cb9d863a6ea61ebbba Mon Sep 17 00:00:00 2001 From: maxim-h Date: Sun, 16 Jun 2019 23:23:44 +0300 Subject: [PATCH] Volume buttons support (#334) --- .config/sxhkd/sxhkdrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 12b2a3d0..a54af6e2 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -80,6 +80,18 @@ super + {_,shift +} bracketright super + {_,shift +} bracketleft lmc back {10,120} +# General bindings for audio control buttons. You might also want +# to specify your @DEFAULT_SINK@ in /etc/pulse/default.pa +# Mute volume +XF86AudioMute + pactl set-sink-mute @DEFAULT_SINK@ toggle +# Decrease volume +XF86AudioLowerVolume + pactl set-sink-volume @DEFAULT_SINK@ -5% +# Increase volume +XF86AudioRaiseVolume + pactl set-sink-volume @DEFAULT_SINK@ +5% + # Function keys # Show readme super + F1