aboutsummaryrefslogtreecommitdiff
path: root/sxhkd/.config
diff options
context:
space:
mode:
authorKumar Damani <kdamani@kepler.space>2021-06-02 15:51:47 +0000
committerKumar Damani <kdamani@kepler.space>2021-06-02 15:51:47 +0000
commit41ae94bafbb6d6b4e5465c7b6280c809d0ebc037 (patch)
treecd98edfffdb8d48e46431712f0d28b0188149a6d /sxhkd/.config
parent08c18da372b215f51f2b5a5102a6ec6c3fcae0ff (diff)
switched to pactl from pamixer due to version conflicts
Diffstat (limited to 'sxhkd/.config')
-rw-r--r--sxhkd/.config/sxhkd/sxhkdrc9
1 files changed, 3 insertions, 6 deletions
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}