diff options
| -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 |
