From 47dcb72c48e165154ef344588eed178c481a535c Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 23 Sep 2026 12:37:22 +0200 Subject: fix: write the kitty theme through its symlink ~/.config/kitty/current-theme.conf is now a symlink into the kitty-conf repo. install -Dm644 unlinked it and left a plain file in its place, so the theme is written through the link with cat instead. Co-Authored-By: Claude Opus 5.5 --- install.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 85d8216..6fba4db 100755 --- a/install.sh +++ b/install.sh @@ -95,8 +95,11 @@ if [ -x "$waybar_repo/install.sh" ]; then echo "waybar: its install.sh failed, bar left on the old colours" >&2 fi -install -Dm644 "$repo/templates/terminal/kitty-theme.conf" \ - "$HOME/.config/kitty/current-theme.conf" +# Written through, not replaced: current-theme.conf is a symlink into the +# kitty-conf repo, and install -D would unlink it and leave a plain file behind. +mkdir -p "$HOME/.config/kitty" +cat "$repo/templates/terminal/kitty-theme.conf" \ + > "$HOME/.config/kitty/current-theme.conf" # Sublime Text. Copied into Packages/User, which Sublime watches, so writing it # reaches a running editor. The file still carries @ACCENT@, which udt-accent -- cgit v1.2.3