diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-23 12:37:22 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-23 12:37:22 +0200 |
| commit | 47dcb72c48e165154ef344588eed178c481a535c (patch) | |
| tree | 38205f4199a3d5c487c50104fced07b77d6a6ad9 /install.sh | |
| parent | 57b4f80045abd0d483f2d1a94bcf7dc041466edd (diff) | |
| download | unified-desktop-theme-47dcb72c48e165154ef344588eed178c481a535c.tar.gz unified-desktop-theme-47dcb72c48e165154ef344588eed178c481a535c.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'install.sh')
| -rwxr-xr-x | install.sh | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |
