aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/statusbar/sb-volume6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/statusbar/sb-volume b/.local/bin/statusbar/sb-volume
index dc9b149..acf519e 100755
--- a/.local/bin/statusbar/sb-volume
+++ b/.local/bin/statusbar/sb-volume
@@ -4,9 +4,9 @@
case $BLOCK_BUTTON in
1) setsid -w -f "$TERMINAL" -e pulsemixer; pkill -RTMIN+10 "${STATUSBAR:-someblocks}" ;;
- 2) wpctl set-mute @DEFAULT_SINK@ toggle ;;
- 4) wpctl set-volume @DEFAULT_SINK@ 1%+ ;;
- 5) wpctl set-volume @DEFAULT_SINK@ 1%- ;;
+ 2) wpctl set-mute @DEFAULT_SINK@ toggle; kill -44 $(pidof someblocks) ;;
+ 4) wpctl set-volume @DEFAULT_SINK@ 1%+; kill -44 $(pidof someblocks) ;;
+ 5) wpctl set-volume @DEFAULT_SINK@ 1%-; kill -44 $(pidof someblocks) ;;
3) notify-send "📢 Volume module" "\- Shows volume 🔊, 🔇 if muted.
- Middle click to mute.
- Scroll to change." ;;