kill for dwmblock volume interaction

This commit is contained in:
Amy 2023-02-15 21:17:48 +11:00 committed by GitHub
parent 52f03fe0a1
commit 742a65ddc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,8 +5,8 @@
case $BLOCK_BUTTON in
1) setsid -f "$TERMINAL" -e pulsemixer ;;
2) wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle; pkill -RTMIN+10 dwmblocks ;;
4) wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+ ;;
5) wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%- ;;
4) wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+; pkill -RTMIN+10 dwmblocks ;;
5) wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-; pkill -RTMIN+10 dwmblocks ;;
3) notify-send "📢 Volume module" "\- Shows volume 🔊, 🔇 if muted.
- Middle click to mute.
- Scroll to change." ;;