Update volume icons

This commit is contained in:
Andreas Näsman 2023-10-12 22:06:59 +03:00 committed by Felix Kratz
parent 7305fbc268
commit 934c089595

View file

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