dotfiles/configmac/sketchybar/items/volume.sh

22 lines
1.2 KiB
Bash
Executable file

sketchybar --add item volume right \
--set volume script="$PLUGIN_DIR/volume.sh" \
updates=on \
icon.background.drawing=on \
icon.background.color=$BLUE \
icon.background.height=8 \
icon.background.corner_radius=3 \
icon.width=0 \
icon.align=right \
label.drawing=off \
background.drawing=on \
background.color=$OPEN_APPS_BACKGROUND \
background.height=8 \
background.corner_radius=3 \
align=left \
--subscribe volume volume_change
sketchybar --add item volume_icon right \
--set volume_icon icon.font="$FONT:Regular:21.0" \
icon=􀥒 \
label.drawing=off