From 0d75b9d2588891570991f4749cedee982c84cbd8 Mon Sep 17 00:00:00 2001 From: Nico Date: Sun, 5 Oct 2025 01:51:51 +1000 Subject: [PATCH] sketchybar: use corner radius from matugen --- stow/.config/matugen/templates/sketchybar.sh | 2 ++ stow/.config/sketchybar/sketchybarrc | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/stow/.config/matugen/templates/sketchybar.sh b/stow/.config/matugen/templates/sketchybar.sh index b5ee3d4..f42aceb 100644 --- a/stow/.config/matugen/templates/sketchybar.sh +++ b/stow/.config/matugen/templates/sketchybar.sh @@ -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}} diff --git a/stow/.config/sketchybar/sketchybarrc b/stow/.config/sketchybar/sketchybarrc index 48b531f..93f7c72 100755 --- a/stow/.config/sketchybar/sketchybarrc +++ b/stow/.config/sketchybar/sketchybarrc @@ -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 \