sketchybar: use corner radius from matugen
This commit is contained in:
parent
0f168bbf4e
commit
0d75b9d258
2 changed files with 4 additions and 2 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
export PRIMARY_COLOUR=0xFF{{colors.primary.default.hex_stripped}}
|
export PRIMARY_COLOUR=0xFF{{colors.primary.default.hex_stripped}}
|
||||||
export SECONDARY_COLOUR=0xFF{{colors.secondary.default.hex_stripped}}
|
export SECONDARY_COLOUR=0xFF{{colors.secondary.default.hex_stripped}}
|
||||||
export BACKGROUND_COLOUR=0xFF{{colors.background.default.hex_stripped}}
|
export BACKGROUND_COLOUR=0xFF{{colors.background.default.hex_stripped}}
|
||||||
|
|
||||||
|
export ROUNDING={{custom.rounding}}
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ default=(
|
||||||
icon.padding_right=1
|
icon.padding_right=1
|
||||||
label.padding_left=7
|
label.padding_left=7
|
||||||
label.padding_right=7
|
label.padding_right=7
|
||||||
background.corner_radius=5
|
background.corner_radius=$ROUNDING
|
||||||
)
|
)
|
||||||
sketchybar --default "${default[@]}"
|
sketchybar --default "${default[@]}"
|
||||||
|
|
||||||
|
|
@ -65,12 +65,12 @@ for sid in $(aerospace list-workspaces --all); do
|
||||||
background.border_width=0 \
|
background.border_width=0 \
|
||||||
background.padding_right=0 \
|
background.padding_right=0 \
|
||||||
background.padding_left=0 \
|
background.padding_left=0 \
|
||||||
background.corner_radius=0 \
|
|
||||||
label.color=$PRIMARY_COLOUR \
|
label.color=$PRIMARY_COLOUR \
|
||||||
label="$sid" \
|
label="$sid" \
|
||||||
click_script="aerospace workspace $sid" \
|
click_script="aerospace workspace $sid" \
|
||||||
script="$CONFIG_DIR/plugins/aerospace.sh $sid"
|
script="$CONFIG_DIR/plugins/aerospace.sh $sid"
|
||||||
done
|
done
|
||||||
|
# background.corner_radius=0 \
|
||||||
|
|
||||||
# Currently playing music status (only works for Music.app)
|
# Currently playing music status (only works for Music.app)
|
||||||
sketchybar --add item music left \
|
sketchybar --add item music left \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue