From dd49bc4eb47b711c1583756dc2f5c37f36554e41 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Fri, 6 Dec 2019 15:48:35 -0500 Subject: [PATCH] scroll volume fix --- .local/bin/statusbar/volume | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/statusbar/volume b/.local/bin/statusbar/volume index 3bf4fb0..c3bf6d1 100755 --- a/.local/bin/statusbar/volume +++ b/.local/bin/statusbar/volume @@ -3,8 +3,8 @@ case $BLOCK_BUTTON in 1) setsid "$TERMINAL" -e alsamixer & ;; 2) amixer sset Master toggle ;; - 4) amixer sset Master 5%+ ;; - 5) amixer sset Master 5%- ;; + 4) amixer sset Master 5%+ >/dev/null 2>/dev/null ;; + 5) amixer sset Master 5%- >/dev/null 2>/dev/null ;; 3) pgrep -x dunst >/dev/null && notify-send "📢 Volume module" "\- Shows volume 🔊, 🔇 if muted. - Middle click to mute. - Scroll to change."