summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorappeasementPolitik <108810900+appeasementPolitik@users.noreply.github.com>2023-05-26 22:11:06 +0000
committerGitHub <noreply@github.com>2023-05-26 22:11:06 +0000
commit08639706a9bc239dfdeff78f88a9ced7d932cec4 (patch)
tree45d6c34d85e3f551215e551eb3b22f736245d5b2 /.local/bin
parentaf2710799b069486d04ba23c5bdab9cf6c4d6b04 (diff)
downloadeibhear-08639706a9bc239dfdeff78f88a9ced7d932cec4.tar.gz
eibhear-08639706a9bc239dfdeff78f88a9ced7d932cec4.tar.zst
eibhear-08639706a9bc239dfdeff78f88a9ced7d932cec4.zip
Make sure sb-volume module is updated when closed after opening (#1316)
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/statusbar/sb-volume2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/statusbar/sb-volume b/.local/bin/statusbar/sb-volume
index acdf7a9..fa0abcd 100755
--- a/.local/bin/statusbar/sb-volume
+++ b/.local/bin/statusbar/sb-volume
@@ -3,7 +3,7 @@
# Prints the current volume or 🔇 if muted.
case $BLOCK_BUTTON in
- 1) setsid -f "$TERMINAL" -e pulsemixer ;;
+ 1) setsid -w -f "$TERMINAL" -e pulsemixer; pkill -RTMIN+10 "${STATUSBAR:-dwmblocks}" ;;
2) wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle ;;
4) wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+ ;;
5) wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%- ;;