From 21b54b98ae46a4315e88c4c02d72e6471504fbea Mon Sep 17 00:00:00 2001 From: 0scar Date: Mon, 17 Oct 2022 19:31:04 +0200 Subject: Update statusbar scripts --- .local/bin/statusbar/volinfo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.local/bin/statusbar/volinfo') diff --git a/.local/bin/statusbar/volinfo b/.local/bin/statusbar/volinfo index 71d40ad..692fe4d 100755 --- a/.local/bin/statusbar/volinfo +++ b/.local/bin/statusbar/volinfo @@ -3,9 +3,9 @@ ARG=${1:-$BLOCK_BUTTON} case $ARG in - 1) pamixer -t && sigdwmblocks 6;; + 1) pamixer -t && sigdwmblocks 4;; esac VOL=$(pamixer --get-volume) -pamixer --get-mute >/dev/null && echo -ne "\x0c\ufa80${VOL}\x0b" || echo -ne "\ufa7d${VOL}" +[ "$(pamixer --get-mute)" == "true" ] && echo -ne "\x0c\ufa80${VOL}\x0b" || echo -ne "\ufa7d${VOL}" -- cgit v1.3