This commit is contained in:
mr0xb 2026-06-03 14:36:50 -04:00
commit 715eb53860
No known key found for this signature in database
57 changed files with 7755 additions and 3 deletions

View file

@ -0,0 +1,17 @@
#!/bin/bash
# Volume scroll script - allows changing volume with mouse scroll
VOLUME_STEP=5
case "$SCROLL_DIRECTION" in
"up")
osascript -e "set volume output volume (output volume of (get volume settings) + $VOLUME_STEP)"
;;
"down")
osascript -e "set volume output volume (output volume of (get volume settings) - $VOLUME_STEP)"
;;
esac
# Trigger volume update
sketchybar --trigger volume_change