style: format shell scripts

This commit is contained in:
github-actions[bot] 2025-02-25 12:36:22 +00:00
parent 8c5babe80a
commit 76b5fd4118
18 changed files with 231 additions and 242 deletions

View file

@ -7,13 +7,16 @@ if [ "$SENDER" = "volume_change" ]; then
VOLUME="$INFO"
case "$VOLUME" in
[6-9][0-9]|100) ICON="󰕾"
;;
[3-5][0-9]) ICON="󰖀"
;;
[1-9]|[1-2][0-9]) ICON="󰕿"
;;
*) ICON="󰖁"
[6-9][0-9] | 100)
ICON="󰕾"
;;
[3-5][0-9])
ICON="󰖀"
;;
[1-9] | [1-2][0-9])
ICON="󰕿"
;;
*) ICON="󰖁" ;;
esac
sketchybar --set "$NAME" icon="$ICON" label="$VOLUME%"