From 41ae94bafbb6d6b4e5465c7b6280c809d0ebc037 Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Wed, 2 Jun 2021 11:51:47 -0400 Subject: switched to pactl from pamixer due to version conflicts --- sxhkd/.config/sxhkd/sxhkdrc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'sxhkd') diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index f64345f..f30e782 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -9,7 +9,7 @@ super + e $TERMINAL -n email -e neomutt super + r - $TERMINAL -e ranger + $TERMINAL -e nnn super + shift + r pcmanfm @@ -52,13 +52,10 @@ super + bracket{left,right} # Sound Control XF86AudioMute - pamixer --allow-boost -t && notify-send "🎧 $(pamixer --get-volume-human)" + pactl set-sink-mute 0 toggle && notify-send "🎧 $(pactl list sinks | grep 'Mute:' | sed 's/^ *//g')" {XF86AudioLowerVolume, XF86AudioRaiseVolume, F2, F3} - pamixer --allow-boost -{d,i,d,i} 10 && notify-send "🎧 $(pamixer --get-volume-human)" - -super + F1 - amixer -c 0 set Headphone 100% unmute && notify-send -t 1000 "🎧 Unmuted!" + pactl -- set-sink-volume 0 {-,+,-,+}10% && notify-send "🎧 $(pactl list sinks | grep 'Volume:' | head -n1 | cut -d '/' -f2 | sed 's/^ *//g')" # Brightness control {XF86MonBrightnessDown, XF86MonBrightnessUp} -- cgit v1.2.3