From 78856df8ce2a282c6fe3abcec5fa4b3459004a83 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 26 Oct 2014 12:42:21 -0400 Subject: [PATCH] add pulseaudio-ctl config and use it with sxhkd --- pulseaudio-ctl/.config/pulseaudio-ctl/config | 10 ++++++++++ sxhkd/.config/sxhkd/sxhkdrc | 9 +++++++++ 2 files changed, 19 insertions(+) create mode 100644 pulseaudio-ctl/.config/pulseaudio-ctl/config 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 -- 2.20.1