From 742a65ddc341754486f6f830929873a62a6561c2 Mon Sep 17 00:00:00 2001 From: Amy <58243358+aymey@users.noreply.github.com> Date: Wed, 15 Feb 2023 21:17:48 +1100 Subject: [PATCH] kill for dwmblock volume interaction --- .local/bin/statusbar/sb-volume | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/statusbar/sb-volume b/.local/bin/statusbar/sb-volume index ae3a2ac6..3f09f2be 100755 --- a/.local/bin/statusbar/sb-volume +++ b/.local/bin/statusbar/sb-volume @@ -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." ;;