aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/statusbar/sb-volume
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/statusbar/sb-volume')
-rwxr-xr-x.local/bin/statusbar/sb-volume4
1 files changed, 2 insertions, 2 deletions
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: }"