summaryrefslogtreecommitdiff
path: root/ar/.local/bin/statusbar/sb-volume
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-07-09 11:20:07 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-07-09 11:20:07 +0900
commita7c06286a3bec23a488dc98e35d2048972d7d3c8 (patch)
tree9b8b5fee14fda6764a60ff578e13a583d233dbd1 /ar/.local/bin/statusbar/sb-volume
parent5f2313deb7c1187f8710724303aea078c24c7c0d (diff)
modified statusbar/sb-mic, deleted statusbar/sb-micup, modified statusbar/sb-volume, created statusbar/sb-audioup
Diffstat (limited to 'ar/.local/bin/statusbar/sb-volume')
-rwxr-xr-xar/.local/bin/statusbar/sb-volume2
1 files changed, 2 insertions, 0 deletions
diff --git a/ar/.local/bin/statusbar/sb-volume b/ar/.local/bin/statusbar/sb-volume
index 291e78d..19efcb1 100755
--- a/ar/.local/bin/statusbar/sb-volume
+++ b/ar/.local/bin/statusbar/sb-volume
@@ -16,6 +16,8 @@ case $BLOCK_BUTTON in
6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
esac
+pidof -x sb-audioup >/dev/null 2>&1 || sb-audioup >/dev/null 2>&1 &
+
vol="$(wpctl get-volume @DEFAULT_AUDIO_SINK@)"
# If muted, print 🔇 and exit.