Skip to content

Use Noctalia overlays for terminal themes#76

Merged
CollieIsCute merged 1 commit into
masterfrom
feature/noctalia-terminal-overlays
Jun 28, 2026
Merged

Use Noctalia overlays for terminal themes#76
CollieIsCute merged 1 commit into
masterfrom
feature/noctalia-terminal-overlays

Conversation

@CollieIsCute

Copy link
Copy Markdown
Owner

Summary

  • add Noctalia user templates for Alacritty and Ghostty
  • keep Catppuccin as the fallback terminal theme
  • load Noctalia-generated theme files as optional overlays instead of letting Noctalia mutate main configs
  • document the shared terminal theme ownership model

Research

  • Alacritty general.import loads imports in order and skips missing files, so ~/.config/alacritty/themes/noctalia.toml can be an optional overlay after Catppuccin.
  • Ghostty config-file = ?path ignores missing files and is processed after the main config, so config-file = ?themes/noctalia can overlay the Catppuccin fallback.
  • Noctalia built-in terminal templates use apply.sh hooks that edit app main config files; these changes avoid those hooks by using user templates that only write generated theme files.

Local state cleanup

  • Cleared the local Noctalia runtime template state so old built-in/community IDs no longer linger in ~/.local/state/noctalia/settings.toml.
  • Kept other Noctalia GUI state intact.

Validation

  • chezmoi apply -v
  • chezmoi diff
  • chezmoi status
  • noctalia config validate /home/collie/.config/noctalia
  • noctalia theme /home/collie/.config/wallpapers/xp_wallpaper.jpg -r /home/collie/.config/noctalia/templates/alacritty.toml:/tmp/opencode/noctalia-alacritty.toml
  • noctalia theme /home/collie/.config/wallpapers/xp_wallpaper.jpg -r /home/collie/.config/noctalia/templates/ghostty:/tmp/opencode/noctalia-ghostty
  • noctalia theme /home/collie/.config/wallpapers/xp_wallpaper.jpg -r /home/collie/.config/noctalia/templates/kitty.conf:/tmp/opencode/noctalia-kitty.conf
  • noctalia theme /home/collie/.config/wallpapers/xp_wallpaper.jpg -c /home/collie/.config/noctalia/config.toml
  • python -c "import tomllib; tomllib.load(open('/home/collie/.local/share/chezmoi/home/dot_config/alacritty/alacritty.toml','rb')); tomllib.load(open('/home/collie/.local/share/chezmoi/home/dot_config/noctalia/templates/alacritty.toml','rb')); tomllib.load(open('/tmp/opencode/noctalia-alacritty.toml','rb'))"
  • ghostty +show-config | rg '^(theme|config-file|background|foreground|palette = 0|palette = 15)'
  • git diff --check

@CollieIsCute CollieIsCute merged commit 50c2471 into master Jun 28, 2026
4 checks passed
@CollieIsCute CollieIsCute deleted the feature/noctalia-terminal-overlays branch June 28, 2026 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant