summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorzetef <sdediu@cantemircml.ro>2024-07-15 20:14:25 +0300
committerGitHub <noreply@github.com>2024-07-15 17:14:25 +0000
commite8ba78c518ac501d4de4275607748cb55394407f (patch)
tree510aff9b8bedde704bfd94feeef389c5a6735bd2 /.local/bin
parentdda032a37d654557fbf2542d8b0385ba79584a4b (diff)
downloadeibhear-e8ba78c518ac501d4de4275607748cb55394407f.tar.gz
eibhear-e8ba78c518ac501d4de4275607748cb55394407f.tar.zst
eibhear-e8ba78c518ac501d4de4275607748cb55394407f.zip
Fix sb-volume (toggle mute, scroll volume change) (#1411)
the current wpctl version does not support @DEFAULT_AUDIO_SINK@, but works with @DEFAULT_SINK@ quick fix
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/statusbar/sb-volume6
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/statusbar/sb-volume b/.local/bin/statusbar/sb-volume
index e66dea7..f9d406b 100755
--- a/.local/bin/statusbar/sb-volume
+++ b/.local/bin/statusbar/sb-volume
@@ -4,9 +4,9 @@
case $BLOCK_BUTTON in
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%- ;;
+ 2) wpctl set-mute @DEFAULT_SINK@ toggle ;;
+ 4) wpctl set-volume @DEFAULT_SINK@ 1%+ ;;
+ 5) wpctl set-volume @DEFAULT_SINK@ 1%- ;;
3) notify-send "📢 Volume module" "\- Shows volume 🔊, 🔇 if muted.
- Middle click to mute.
- Scroll to change." ;;