PimpMyRice

Theme Commands

Here are the main commands for generating, applying, and managing themes:


Generate a theme

Generate a theme from an image (local or remote):

Local image:

pimp gen Downloads/example.png

Remote image:

pimp gen https://website.com/example.png

With options:

pimp gen image.png --apply --name=my_theme --tags=dark,minimal

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:

pimp random

With filtering options:

pimp random --tags=dark,minimal --exclude-tags=colorful --style=flat --palette=monochrome

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 generated theme_dict

Refresh theme

Re-apply the current theme (useful after editing):

pimp refresh

With options:

pimp refresh --mode=dark --modules=alacritty,i3 --style=flat

Options: same as random command


Set theme

Set a specific theme by name:

pimp theme set example

With options:

pimp theme set example --mode=dark --style=flat --palette=monochrome

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 generated theme_dict

Rename theme

Rename a theme:

pimp theme rename old_name new_name

Delete theme

Delete a theme by name:

pimp theme delete example

List themes

List all available themes:

pimp theme list

Edit theme

Edit a theme in your editor:

pimp theme edit

Edit a specific theme:

pimp theme edit THEME_NAME

Regenerate themes

Regenerate one or more themes from their source images:

pimp theme regen theme1 theme2

Rewrite themes

Rewrite one or more themes (useful for updating after config changes):

pimp theme rewrite theme1 theme2

Export theme

Export a theme to a directory (for dotfiles, sharing, etc.):

pimp theme export THEME_NAME OUT_DIR

With options:

pimp theme export my_theme ~/dotfiles --mode=dark --modules=alacritty,i3

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 generated theme_dict

On this page