aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-11-15 18:53:03 +0300
committerawy <awy@awy.one>2025-11-15 18:53:03 +0300
commit24692ec3bb7d8d561798e0f0ba950a3d574df380 (patch)
treeaff055d9273513d06c3d81044f15431536b90ec8
parentb18bac6b0a8c4144620cf3874dbb760dddabd601 (diff)
downloadmangoslice-24692ec3bb7d8d561798e0f0ba950a3d574df380.tar.gz
scroll fix
-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." ;;