From b893bee74dcbdc1e11daa98da39c49e6afecc9e6 Mon Sep 17 00:00:00 2001 From: awy Date: Sat, 30 Nov 2024 16:55:21 +0300 Subject: small fixes + sb-disk module --- .local/bin/statusbar/sb-volume | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.local/bin/statusbar/sb-volume') diff --git a/.local/bin/statusbar/sb-volume b/.local/bin/statusbar/sb-volume index a7253f1..1aeceba 100755 --- a/.local/bin/statusbar/sb-volume +++ b/.local/bin/statusbar/sb-volume @@ -1,6 +1,6 @@ #!/bin/sh -# Prints the current volume or 🔇 if muted. +# Prints the current volume or  if muted. case $BLOCK_BUTTON in 1) setsid -w -f "$TERMINAL" -e pulsemixer; pkill -RTMIN+10 "${STATUSBAR:-i3blocks}" ;; @@ -15,7 +15,7 @@ esac vol="$(wpctl get-volume @DEFAULT_AUDIO_SINK@)" -# If muted, print 🔇 and exit. +# If muted, print  and exit. [ "$vol" != "${vol%\[MUTED\]}" ] && echo  && exit vol="${vol#Volume: }" -- cgit v1.2.3