Skip to content

docs: add example for syncing theme with terminal light/dark mode - #1

Open
codegoyf wants to merge 1 commit into
catppuccin:mainfrom
codegoyf:docs/light-dark-terminal-sync
Open

docs: add example for syncing theme with terminal light/dark mode#1
codegoyf wants to merge 1 commit into
catppuccin:mainfrom
codegoyf:docs/light-dark-terminal-sync

Conversation

@codegoyf

@codegoyf codegoyf commented Jul 2, 2026

Copy link
Copy Markdown

Adds a short section showing how to automatically switch the active colors.yaml flavor (e.g. latte ↔ macchiato) when your terminal's light/dark theme changes, using fish's fish_terminal_color_theme variable.

Since lsd only reads a single fixed colors.yaml and has no built-in multi-theme support, this covers the common workaround: save each flavor under a distinct filename and copy the matching one over colors.yaml on theme change.

Verified working locally with fish 4.8 + Ghostty (which reports terminal background color and syncs its own theme to macOS appearance).

Shows how to use fish's fish_terminal_color_theme variable to
automatically swap the active colors.yaml flavor when the terminal
switches between light and dark, since lsd itself only supports a
single fixed colors.yaml file.
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