update theming doc

This commit is contained in:
fatalerrors
2026-05-21 11:51:08 +02:00
parent f923dcb758
commit 5264470127

View File

@@ -303,6 +303,23 @@ PROMPT_THEME_DIR = ~/.mythemes # optional: custom search directory
Built-in themes: `default`, `dark`, `light`, `solarized`, `solarized-light`,
`monokai`, `monochrome`, `abyss`, `plasma`, `adwaita`.
**Runtime theme switching (`set_theme`):**
```bash
set_theme --list # list available themes
set_theme dark # apply theme for current shell session
set_theme --preview dark # preview theme colors without applying
set_theme --save # save currently active theme to config
set_theme --save dark # apply and save the given theme
```
`set_theme --save` writes `PROMPT_THEME` in `[prompt]` to:
- `~/.profile.conf` when present
- otherwise `profile.conf` in the profile installation directory
`--preview` and `--save` are mutually exclusive.
**Overriding individual prompt colour slots:**
```ini