summaryrefslogtreecommitdiffstats
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-volume2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/sb-volume b/.local/bin/statusbar/sb-volume
index acdf7a9..fa0abcd 100755
--- a/.local/bin/statusbar/sb-volume
+++ b/.local/bin/statusbar/sb-volume
@@ -3,7 +3,7 @@
# Prints the current volume or 🔇 if muted.
case $BLOCK_BUTTON in
- 1) setsid -f "$TERMINAL" -e pulsemixer ;;
+ 1) setsid -w -f "$TERMINAL" -e pulsemixer; pkill -RTMIN+10 "${STATUSBAR:-dwmblocks}" ;;
2) wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle ;;
4) wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+ ;;
5) wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%- ;;