aboutsummaryrefslogtreecommitdiff
path: root/sxhkd
diff options
context:
space:
mode:
Diffstat (limited to 'sxhkd')
-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}