Theme Commands
Here are the main commands for generating, applying, and managing themes:
- Generate a theme
- Random theme
- Refresh theme
- Set theme
- Rename theme
- Delete theme
- List themes
- Edit theme
- Regenerate themes
- Rewrite themes
- Export theme
Generate a theme
Generate a theme from an image (local or remote):
Local image:
Remote image:
With options:
Options:
--apply
: apply the generated theme immediately--name=NAME
: save with custom name--tags=TAG1,TAG2
: save with tags
Random theme
Apply a random theme:
With filtering options:
Options:
--mode=MODE
: apply with specific mode--tags=TAG1,TAG2
: include only themes with tags--exclude-tags=TAG1,TAG2
: exclude themes with tags--modules=MODULE1,MODULE2
: use only specific modules--exclude-modules=MODULE1,MODULE2
: exclude specific modules--style=STYLE
: apply with specific style--palette=PALETTE
: apply with specific palette--print-theme-dict
: print the generatedtheme_dict
Refresh theme
Re-apply the current theme (useful after editing):
With options:
Options: same as random
command
Set theme
Set a specific theme by name:
With options:
Options:
--mode=MODE
: apply with specific mode--modules=MODULE1,MODULE2
: use only specific modules--exclude-modules=MODULE1,MODULE2
: exclude specific modules--style=STYLE
: apply with specific style--palette=PALETTE
: apply with specific palette--print-theme-dict
: print the generatedtheme_dict
Rename theme
Rename a theme:
Delete theme
Delete a theme by name:
List themes
List all available themes:
Edit theme
Edit a theme in your editor:
Edit a specific theme:
Regenerate themes
Regenerate one or more themes from their source images:
Rewrite themes
Rewrite one or more themes (useful for updating after config changes):
Export theme
Export a theme to a directory (for dotfiles, sharing, etc.):
With options:
Options:
--mode=MODE
: export with specific mode--modules=MODULE1,MODULE2
: export only specific modules--exclude-modules=MODULE1,MODULE2
: exclude specific modules--style=STYLE
: export with specific style--palette=PALETTE
: export with specific palette--print-theme-dict
: print the generatedtheme_dict