20 lines
464 B
Bash
20 lines
464 B
Bash
#!/usr/bin/env bash
|
|
|
|
COLOR="$YELLOW"
|
|
|
|
sketchybar --add item cpu right \
|
|
--set cpu \
|
|
update_freq=3 \
|
|
icon.color="$COLOR" \
|
|
icon.padding_left=10 \
|
|
label.color="$COLOR" \
|
|
label.padding_right=10 \
|
|
background.height=26 \
|
|
background.corner_radius="$CORNER_RADIUS" \
|
|
background.padding_right=5 \
|
|
background.border_width="$BORDER_WIDTH" \
|
|
background.border_color="$COLOR" \
|
|
background.color="$BAR_COLOR" \
|
|
background.drawing=on \
|
|
script="$PLUGIN_DIR/cpu.sh"
|