sketchybar: use corner radius from matugen

This commit is contained in:
Nico 2025-10-05 01:51:51 +10:00
parent 0f168bbf4e
commit 0d75b9d258
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,5 @@
export PRIMARY_COLOUR=0xFF{{colors.primary.default.hex_stripped}}
export SECONDARY_COLOUR=0xFF{{colors.secondary.default.hex_stripped}}
export BACKGROUND_COLOUR=0xFF{{colors.background.default.hex_stripped}}
export ROUNDING={{custom.rounding}}

View file

@ -38,7 +38,7 @@ default=(
icon.padding_right=1
label.padding_left=7
label.padding_right=7
background.corner_radius=5
background.corner_radius=$ROUNDING
)
sketchybar --default "${default[@]}"
@ -65,12 +65,12 @@ for sid in $(aerospace list-workspaces --all); do
background.border_width=0 \
background.padding_right=0 \
background.padding_left=0 \
background.corner_radius=0 \
label.color=$PRIMARY_COLOUR \
label="$sid" \
click_script="aerospace workspace $sid" \
script="$CONFIG_DIR/plugins/aerospace.sh $sid"
done
# background.corner_radius=0 \
# Currently playing music status (only works for Music.app)
sketchybar --add item music left \