From: Amin Bandali Date: Sun, 26 Oct 2014 16:42:21 +0000 (-0400) Subject: add pulseaudio-ctl config and use it with sxhkd X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/78856df8ce2a282c6fe3abcec5fa4b3459004a83?ds=inline add pulseaudio-ctl config and use it with sxhkd --- diff --git a/pulseaudio-ctl/.config/pulseaudio-ctl/config b/pulseaudio-ctl/.config/pulseaudio-ctl/config new file mode 100644 index 0000000..ff2388a --- /dev/null +++ b/pulseaudio-ctl/.config/pulseaudio-ctl/config @@ -0,0 +1,10 @@ +# +# $HOME/.config/pulseaudio-ctl/pulseaudio-ctl.conf +# + +# The default setting is for pulseaudio-ctl to NOT increase to volume level +# above 100 % but Some users may wish exceed this level. If this describes +# your use case, uncomment the UPPER_THRESHOLD variable below setting it to +# the new upper threshold. +# +UPPER_THRESHOLD=120 diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 5f5534c..263debc 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -102,6 +102,15 @@ XF86KbdBrightnessDown XF86KbdBrightnessUp kbdlight up +XF86AudioRaiseVolume + pulseaudio-ctl up + +XF86AudioLowerVolume + pulseaudio-ctl down + +XF86AudioMute + pulseaudio-ctl mute + #XF86AudioRaiseVolume # pamixer --increase 5;\ # pamixer --get-volume > /tmp/volinfo