From 5b9b59073d0a72bb5a34dfedcdeb452bee50e1f0 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 24 Oct 2022 17:07:01 -0400 Subject: [PATCH] sxhkd: Use pamixer instead of pactl This prevents us from setting the volume above 100%. --- sxhkd/.config/sxhkd/sxhkdrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 2a5e92c0..fde807f8 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -98,10 +98,10 @@ super + F1 pactl set-sink-mute @DEFAULT_SINK@ toggle && notify-send -t 2000 "Changed muted to" "$(pamixer --get-mute)" super + F2 - pactl set-sink-volume @DEFAULT_SINK@ -5% && notify-send -t 2000 "Lowered volume to" "$(pamixer --get-volume)%" + pamixer -d 5 && notify-send -t 2000 "Lowered volume to" "$(pamixer --get-volume)%" super + F3 - pactl set-sink-volume @DEFAULT_SINK@ +5% && notify-send -t 2000 "Raised volume to" "$(pamixer --get-volume)%" + pamixer -i 5 && notify-send -t 2000 "Raised volume to" "$(pamixer --get-volume)%" super + F4 pactl set-source-mute @DEFAULT_SOURCE@ toggle