diff options
| author | 0scar <qgt268@alumni.ku.dk> | 2022-10-17 17:31:04 +0000 |
|---|---|---|
| committer | 0scar <qgt268@alumni.ku.dk> | 2022-10-17 17:31:04 +0000 |
| commit | 21b54b98ae46a4315e88c4c02d72e6471504fbea (patch) | |
| tree | 830cd8ad415e95e3017f9215955665c7535f2aad /.local/bin/statusbar/volinfo | |
| parent | 53d73b28d6caa64c80fd59f4bb0cd7087cc2333c (diff) | |
Update statusbar scripts
Diffstat (limited to '.local/bin/statusbar/volinfo')
| -rwxr-xr-x | .local/bin/statusbar/volinfo | 4 |
1 files changed, 2 insertions, 2 deletions
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}" |
