summaryrefslogtreecommitdiff
path: root/ar/.local/bin/statusbar/sb-volume
diff options
context:
space:
mode:
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.