diff options
| author | appeasementPolitik <108810900+appeasementPolitik@users.noreply.github.com> | 2023-05-26 22:11:06 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-26 22:11:06 +0000 |
| commit | 08639706a9bc239dfdeff78f88a9ced7d932cec4 (patch) | |
| tree | 45d6c34d85e3f551215e551eb3b22f736245d5b2 /.local/bin/statusbar | |
| parent | af2710799b069486d04ba23c5bdab9cf6c4d6b04 (diff) | |
| download | eibhear-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/statusbar')
| -rwxr-xr-x | .local/bin/statusbar/sb-volume | 2 |
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%- ;; |
