diff --git a/bin/omarchy-theme-set-templates b/bin/omarchy-theme-set-templates index 4e34dd96..2e24d705 100755 --- a/bin/omarchy-theme-set-templates +++ b/bin/omarchy-theme-set-templates @@ -9,7 +9,7 @@ if [[ -f $COLORS_FILE ]]; then # Parse TOML using yq (treating it as YAML since the flat key=value structure is compatible) # We convert 'key = value' to 'key: value' to make it valid YAML, then use yq/jq to generate the replacement commands. sed_script=$(mktemp) - sed 's/=/:/' "$COLORS_FILE" | yq -r 'to_entries[] | "s|{{ \(.key) }}|\(.value)|g"' > "$sed_script" + sed 's/=/:/' "$COLORS_FILE" | yq -r 'to_entries[] | "s|{{ \(.key) }}|\(.value)|g", "s|{{ \(.key)_strip }}|\(.value | sub("^#";""))|g"' > "$sed_script" shopt -s nullglob for tpl in "$TEMPLATES_DIR"/*.tpl; do diff --git a/themes/templates.d/hyprland.conf.tpl b/themes/templates.d/hyprland.conf.tpl index a8502b38..e4dbf3c3 100644 --- a/themes/templates.d/hyprland.conf.tpl +++ b/themes/templates.d/hyprland.conf.tpl @@ -1,4 +1,4 @@ -$activeBorderColor = {{ accent }} +$activeBorderColor = rgb({{ accent_strip }}) general { col.active_border = $activeBorderColor