summaryrefslogtreecommitdiffstats
path: root/.local/bin/statusbar/sb-volume
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2024-07-15 13:20:34 -0400
committerLuke Smith <luke@lukesmith.xyz>2024-07-15 13:20:34 -0400
commitcf38cd5ba813741e8ea61c72b30b8c983a3d0abb (patch)
treeae462aa2fc90853edd3987b2fdd04c8bff66e91d /.local/bin/statusbar/sb-volume
parent82ddcd87ecd9e614f4ae58e8403dd93720570a62 (diff)
parent22141ca7543e98c21ec721acaa3f9f4ff42157bd (diff)
downloadeibhear-cf38cd5ba813741e8ea61c72b30b8c983a3d0abb.tar.gz
eibhear-cf38cd5ba813741e8ea61c72b30b8c983a3d0abb.tar.zst
eibhear-cf38cd5ba813741e8ea61c72b30b8c983a3d0abb.zip
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.local/bin/statusbar/sb-volume')
-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." ;;