22 lines
517 B
Bash
22 lines
517 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
COLOR="$MAGENTA"
|
||
|
|
||
|
sketchybar --add item clock right \
|
||
|
--set clock update_freq=60 \
|
||
|
icon.padding_left=10 \
|
||
|
icon.color="$COLOR" \
|
||
|
icon=" " \
|
||
|
label.color="$COLOR" \
|
||
|
label.padding_right=5 \
|
||
|
label.width=43 \
|
||
|
align=center \
|
||
|
background.height=26 \
|
||
|
background.corner_radius="$CORNER_RADIUS" \
|
||
|
background.padding_right=2 \
|
||
|
background.border_width="$BORDER_WIDTH" \
|
||
|
background.border_color="$COLOR" \
|
||
|
background.color="$BAR_COLOR" \
|
||
|
background.drawing=on \
|
||
|
script="$PLUGIN_DIR/clock.sh"
|