Update volume when scrolling on volume icon.

This commit is contained in:
vartiovaara 2021-06-30 17:23:30 +03:00 committed by GitHub
parent fe7d9440dd
commit 96ee4991d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,9 @@
case $BLOCK_BUTTON in
1) setsid -f "$TERMINAL" -e pulsemixer ;;
2) pamixer -t ;;
4) pamixer --allow-boost -i 1 ;;
5) pamixer --allow-boost -d 1 ;;
2) pamixer -t; kill -44 $(pidof dwmblocks) ;;
4) pamixer --allow-boost -i 1; kill -44 $(pidof dwmblocks) ;;
5) pamixer --allow-boost -d 1; kill -44 $(pidof dwmblocks) ;;
3) notify-send "📢 Volume module" "\- Shows volume 🔊, 🔇 if muted.
- Middle click to mute.
- Scroll to change." ;;