From 05f9c3b70799d48ec39786097808fccfd7c89643 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 14 Apr 2020 20:37:22 -0400 Subject: [PATCH] use pamixer, which is much faster --- .local/bin/statusbar/volume | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.local/bin/statusbar/volume b/.local/bin/statusbar/volume index e248952..20805e6 100755 --- a/.local/bin/statusbar/volume +++ b/.local/bin/statusbar/volume @@ -9,9 +9,9 @@ case $BLOCK_BUTTON in # 4) amixer sset Master 5%+ >/dev/null 2>/dev/null ;; # 5) amixer sset Master 5%- >/dev/null 2>/dev/null ;; 1) setsid "$TERMINAL" -e pulsemixer & ;; - 2) pulsemixer --toggle-mute ;; - 4) pulsemixer --change-volume +5 ;; - 5) pulsemixer --change-volume -5 ;; + 2) pamixer -t ;; + 4) pamixer --allow-boost -i 1 ;; + 5) pamixer --allow-boost -d 1 ;; 3) notify-send "📢 Volume module" "\- Shows volume 🔊, 🔇 if muted. - Middle click to mute. - Scroll to change."