mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-22 11:23:02 +00:00
Update volume icons
This commit is contained in:
parent
7305fbc268
commit
934c089595
1 changed files with 4 additions and 4 deletions
|
@ -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%"
|
||||
|
|
Loading…
Reference in a new issue