Skip to main content
otter-theme-gen watches your wallpaper and writes matching colors to generated-colors.conf. It ships in the otter-shell metapackage. Configure it from the Theme Gen tab in otter-settings, or edit otter-theme-gen.conf by hand.

Usage

Autostart it with otter-wallpaper. Theme generation needs wallpaper state from $XDG_RUNTIME_DIR/otter-shell/wallpaper-state.
See Session setup.

How it works

  1. otter-wallpaper writes the current image path per output to wallpaper-state.
  2. otter-theme-gen reads that file, extracts a palette, and updates ~/.config/otter-shell/generated-colors.conf.
  3. Apps watching the theme import graph pick up the new colors. otter-term hot-reloads shared theme changes without a restart.
The daemon skips work when the wallpaper hash has not changed.

Configuration

Config file: ~/.config/otter-shell/otter-theme-gen.conf Generated color layer: ~/.config/otter-shell/generated-colors.conf
strategy options: material_you, analogous, vibrant, monochromatic, direct, temperature. With islands_mode = true, gaps between Bar sections stay clear. When blur is enabled, each section clips blur to its own surface.

Template outputs

Optional template keys rewrite third-party config files when colors change. All templates start disabled. Enable only the apps you want synced.
Shipped templates cover terminals, GTK, Hyprland (~/.config/hypr/otter-theme.lua), bottom, btop, KDE color schemes, Papirus folder colors, and more. Toggle them in the Theme Gen tab in otter-settings.

KDE color schemes

Enable template_kcolorscheme_enabled to write ~/.local/share/color-schemes/Otter.colors and sync related keys through kdeglobals. When KDE CLI tools are installed, the daemon can refresh the live session too.

Papirus folder colors

Enable template_papirus_colors_enabled to create and select a user-owned Otter-Papirus-* icon theme for GTK and Qt. It inherits installed Papirus icons and points folder names at the closest Papirus color variant. No root and no writes under /usr/share. Papirus must already be installed.
otter-theme-gen never rewrites root theme.conf. It reads the selected profile and root overrides, then writes color keys only to generated-colors.conf.

Templates on disk

Installed templates live under /usr/share/otter-shell/theme-gen/templates/.