Themes and visual customization
Omarchy themes provide one visual identity for the desktop, applications, terminal tools, shell UI, and background media. A theme combines a shared color palette with optional backgrounds and app-specific assets. The theme system stages that set, applies it as one change, and then asks supported components to reload their visual settings.
Theme catalog
The theme catalog joins themes shipped with Omarchy and themes in the user's configuration directory. The theme menu uses each theme's preview media, while the current theme name provides the selected state for later commands. See Theme switching and application sync for the commands that operate on this catalog.
The catalog supports these user-facing actions:
- Browse the available themes and choose one from the style menu.
- Install more themes from a Git repository.
- Create or edit a theme in
~/.config/omarchy/themes. - Remove a user-installed theme.
- Re-apply the current theme when templates or shared defaults change.
The catalog is not only a list of color sets. A theme can also supply backgrounds, an unlock design, and settings for tools that need their own format. This lets one selection affect the whole visual session without forcing every tool to use the same config file. App icon sets are selected separately, then rendered with the active theme's colors.
The desktop session around these changes is described in Desktop session and window management. The user-facing command surface is described in CLI command platform.
References: manual/06-themes.md• L1-9 bin/omarchy-theme-list• L1-9 bin/omarchy-theme-switcher• L7-16 bin/omarchy-theme-install• L19-63 bin/omarchy-theme-remove• L21-39 bin/omarchy-theme-refresh• L1-11 manual/43-making-your-own-theme.md• L1-7
Theme asset structure
Each theme is a small visual package. Its palette is the common input for generated settings, while optional files preserve the parts that need a tool-specific format. See Theme catalog and assets for the asset conventions and file roles.
Shared palette
colors.toml defines semantic colors such as the background, foreground, accent, and status colors. The theme system resolves these names into the values needed by terminal tools, the compositor, editors, browsers, the Omarchy shell, and Omarchy's app icons. A theme can also declare light mode so supported applications use a matching light appearance.
The shared palette allows one color change to cross tool boundaries. Templates can use the same palette to add coverage for an application that Omarchy does not theme by default. Templates can also derive mixed colors and gradients from the shared values, so components with different color formats can still follow one theme.
App icon colors use roles derived from the resolved palette instead of assuming that a raw color name has the same meaning in every theme. A theme can override a role such as icon_mark; otherwise the icon palette derives usable neutral, accent, contrast, red, and orange colors from the theme's mode and available hues.
References: themes/…/colors.toml• L1-31 themes/…/colors.toml• L1-31 themes/…/colors.toml• L1-34 themes/…/colors.toml• L1-34 bin/omarchy-theme-color• L1-18 bin/omarchy-theme-color• L120-135 bin/omarchy-theme-icon-palette• L7-33 bin/omarchy-theme-set-templates• L451-480 manual/43-making-your-own-theme.md• L3-7 manual/43-making-your-own-theme.md• L19-21
Application assets
Theme directories may add settings for a specific application or desktop part. These assets let a theme express choices that cannot come from a color value alone, such as an editor color scheme, a browser theme, a btop style, a compositor rule, or shell lock colors. A compositor asset can also tune the active window border and terminal opacity for a theme whose visual balance needs more than palette colors. The Kanagawa asset demonstrates this role.
Neovim assets provide the editor's part of this visual contract. For example, themes/catppuccin-latte/neovim.lua selects a light Catppuccin variant with transparent editor surfaces, while the Catppuccin, Everforest, and Rose Pine assets select their own native colorscheme settings. This keeps editor appearance aligned with the active theme while allowing each editor theme to use its own options.
Omarchy app icons follow a separate icon-set contract. The selected built-in or user icon set supplies SVG sources, and the active theme supplies the colors used to render its templates. A user icon set can override matching built-in icons, while an icon that a user already owns in the desktop icon path remains in control.
The system also accepts preview images for the catalog and unlock images for the boot decryption screen. Background media is selected separately from the theme itself, but it comes from the theme's background set unless the user chooses other media. A background can have a matching intro video in backgrounds/intros/; the video uses the still background's file name and plays during startup or a theme change when motion is enabled. Intro media can be supplied by the installed theme assets even when it is not present in the source theme checkout.
Fcitx5, the desktop input-method service, can receive a generated theme for its candidate window. The asset supplies the palette-specific theme file while the service keeps its own neutral glyphs, so text entry follows the active visual style without making input-method files part of every theme.
The optional glass mode is a visual extra rather than a second theme. When enabled, the theme render adds matching transparency and blur settings to supported terminal, btop, Ghostty, and GTK assets. The marked settings can be removed when the mode is disabled, so a later theme switch does not leave old glass settings behind.
| Asset group | Visual role |
|---|---|
| Preview media | Shows the theme in the theme picker. |
backgrounds/ media | Supplies selectable desktop backgrounds. |
backgrounds/intros/ media | Adds a matching transition clip for a still background. |
| Unlock images | Supplies the optional boot unlock design. |
| Application and shell assets | Adds settings that need a tool-specific format. |
| Icon set assets | Supplies the selected icon set's source icons. |
| Fcitx5 theme asset | Styles the input-method candidate window. |
| Glass mode additions | Gives supported windows a shared transparent and blurred look. |
References: manual/06-themes.md• L5-9 manual/06-themes.md• L68-70 manual/43-making-your-own-theme.md• L23-35 bin/omarchy-theme-switcher• L23-41 bin/omarchy-theme-set• L420-442 bin/omarchy-theme-set• L454-491 bin/omarchy-theme-bg-boot-intro• L15-79 bin/omarchy-theme-bg-boot-intro• L110-147 bin/omarchy-theme-bg-intro• L9-29 bin/omarchy-theme-set-icons• L6-18 bin/omarchy-theme-set-icons• L35-63 bin/omarchy-theme-set-templates• L457-480 bin/omarchy-theme-set-templates• L485-488 bin/omarchy-theme-set-glass• L1-16 bin/omarchy-theme-set-fcitx5• L9-12 bin/omarchy-theme-set-fcitx5• L68-88 themes/…/0-winding-road.mp4 themes/…/neovim.lua• L1-20 themes/…/neovim.lua• L1-19 themes/…/neovim.lua• L1-17 themes/…/neovim.lua• L1-18 themes/…/3-roadster-starlight.webp
Theme switching pipeline
Theme switching turns a catalog choice into a coordinated visual update. The system prepares the next theme before it replaces the active one, so generated settings, rendered app icons, and the desktop background move to the same selection.
The main stages are:
- The selector returns a theme name from the bundled or user catalog.
- The theme command validates the name and stages the selected theme in a temporary current-state area.
- The palette and templates produce settings for supported tools and the shell.
- The staged theme becomes current, and the shell receives the new colors and background transition.
- Visible terminal and compositor changes run first. App icons and other supported tools then refresh in coordinated batches.
- If enabled, the current theme is sent to other approved Omarchy machines.
This diagram shows how one selection reaches both the shared visual state and the component-specific refresh actions.
flowchart LR
A[Theme selector] --> B[Theme name]
B --> C[Stage palette and assets]
C --> D[Generate shared settings]
D --> E[Swap active theme]
E --> F[Update shell and background]
E --> G[Render selected icon set]
G --> H[Refresh visible tools and icons]
H --> I[Refresh applications and compositor]
E --> J[Optional machine sync]
Theme changes serialize the shared staging and swap work. The command releases that lock after the shell and visible state accept the change, so slow refresh work does not block a later selection. A generation marker and a second refresh lock stop an older delayed batch from applying after a newer theme. Calls from an interactive terminal, or callers that request a wait, run all refresh work before returning; menu and other non-interactive callers return after the visible update and let the remaining work run in the background with failures recorded.
References: bin/omarchy-theme-set• L401-417 bin/omarchy-theme-set• L494-539 bin/omarchy-theme-set• L541-647
Background selection
Backgrounds are part of the visual state but have their own selection flow. Omarchy remembers the last background used for each theme, supports image and video media, and exposes commands to set or move to another background. The cycle command searches both the active theme's media and user media for that theme, then wraps to the first item.
The background switcher opens those two sources with the current background selected. A command can also report the current background by reading the active background state, which keeps menu labels and other UI separate from the media file's stored name.
The cycle command also uses the shell's pending background choice when it exists. This lets quick repeated selections move forward from the last requested item instead of waiting for the current-background link to change.
During a theme change, the shell receives the new background as part of the visual transition. A direct background change asks the shell to sequence the intro or ordinary transition and update its active state. If that shell path is not available, the command updates the current-background link and tells the shell to use the new media directly.
For still backgrounds with a matching intro video, the system can prepare the clip before the theme swap. It shows the outgoing cover first, checks that the selected theme and background are still current, and then starts the intro. A session marker prevents the startup intro from playing more than once in the same session. Users can disable these intros without disabling other background changes.
The background selector can also use user media outside the theme directory. This separates a personal wallpaper choice from the theme's shared palette while keeping the active background visible to the shell through the current visual state.
References: bin/omarchy-theme-set• L92-274 bin/omarchy-theme-set• L407-491 bin/omarchy-theme-set• L518-534 bin/omarchy-theme-bg-current• L6-12 bin/omarchy-theme-bg-next• L6-49 bin/omarchy-theme-bg-set• L7-31 bin/omarchy-theme-bg-switcher• L8-19 bin/omarchy-theme-bg-boot-intro• L15-79 bin/omarchy-theme-bg-boot-intro• L86-147 manual/06-themes.md• L7-9
Application synchronization
The switch command refreshes supported tools after it updates the shared state. Terminal tools, the selected app icon set, and the compositor use their own reload paths, while browsers, editors, shell add-ons, input-method UI, T3 Code, and visual hardware can receive a matching theme through their dedicated sync actions. Compositor-specific theme assets extend this refresh with settings such as border colors and terminal opacity when the shared palette is not enough.
The template stage gives user templates priority over built-in templates when a theme does not already provide the output. It also applies shell section overrides and the optional glass additions before the theme becomes active. This keeps generated files and theme-supplied files in one staged result.
The icon refresh combines the selected built-in icon set with any matching user set, then renders template icons from the active theme's palette. It publishes each result by rename, and the shell watches an icon revision marker so it can redraw when the set changes. Icons that a user already owns remain untouched.
The refresh has two timing groups. Changes that affect the visible desktop run with the icon and terminal updates. Other application settings run as one serialized batch after the visible transition, unless a newer theme has replaced the batch. A theme-set hook runs after that batch, so extensions can react to the completed local theme without holding the main switch lock.
Tmux receives both the resolved palette and theme environment values. It updates existing sessions and panes so open terminal workspaces can follow the new theme without requiring a new session. VS Code, VSCodium, and Cursor use a theme descriptor when a theme names an editor extension; otherwise the system creates a local Omarchy color-theme extension and selects it in the editor settings. T3 Code receives a stable Omarchy theme identity whose generated palette and chrome change with the active theme. Its visual corners follow the live compositor rounding so related controls stay aligned.
Fcitx5 receives the generated candidate-window theme after the active theme changes. The sync action refreshes the service without starting it, and it activates the Omarchy theme only when the current Fcitx5 choice is still one of the stock defaults. A user's explicit Fcitx5 theme therefore remains in control.
This is a coordinated best effort rather than a claim that every application follows automatically. Obsidian is an explicit exception in the user guide: the user must select the Omarchy theme inside Obsidian after the switch.
References: bin/omarchy-theme-set• L541-647 bin/omarchy-theme-set-templates• L316-330 bin/omarchy-theme-set-templates• L438-488 bin/omarchy-theme-set-icons• L6-63 bin/omarchy-theme-set-glass• L54-122 bin/omarchy-theme-set-tmux• L62-160 bin/omarchy-theme-set-vscode• L59-104 bin/omarchy-theme-set-vscode• L139-204 bin/omarchy-theme-set-t3code• L8-77 bin/omarchy-theme-set-fcitx5• L35-88 manual/06-themes.md• L3-5 manual/43-making-your-own-theme.md• L31-35 themes/…/hyprland.lua• L1-18
Machine synchronization
Machine synchronization mirrors a completed theme choice to enabled Herdr machines. It runs after the local visual update, requires the sync toggle on both machines, and marks incoming changes so they do not echo back to the sender.
The remote machine must have an active Hyprland session. The sync path uses that session's environment to apply the theme, while connection or session failures affect only the remote update and do not block the local switch.
References: bin/omarchy-theme-set• L649-651 bin/omarchy-theme-set-herdr-machines• L7-29 bin/omarchy-theme-set-herdr-machines• L31-80
User themes and safe installation
User-created themes and themes cloned from outside sources share the same catalog, but they do not have the same trust boundary. A theme written by the user can contain its full set of assets. A cloned theme contributes visual files while code-bearing or launch-related files are withheld before activation.
Theme installation rejects Git options and transport helpers before cloning. It derives a theme name from the repository path, including the path portion of scp-style SSH URLs, and accepts only a safe lower-case name made from letters, numbers, _, ., +, and -. An existing theme with that name is replaced by the clone. The installed theme is then applied through the normal staging path.
During staging, visual files are copied without following theme-owned links, while Lua files and selected terminal or editor descriptors are ignored because they can run code or change a launched program. Older themes that only provide an Alacritty configuration can still contribute a shared palette through conversion. Installed intro media can complete the background assets when the packaged theme includes those clips separately from the source theme.
Removal only targets a named directory in the user's theme catalog. Refreshing the current theme uses the same apply path but waits for all retint work and skips a new background transition, which lets installers and migrations read the generated application settings after the refresh.
This separation keeps theme installation focused on appearance. It prevents a remote theme from choosing compositor startup code, replacing terminal launch behavior, or supplying an editor extension while still allowing its palette, backgrounds, previews, and other visual assets to work.
References: manual/43-making-your-own-theme.md• L9-17 bin/omarchy-theme-install• L19-63 bin/omarchy-theme-set• L26-36 bin/omarchy-theme-set• L276-370 bin/omarchy-theme-set• L380-442 bin/omarchy-theme-remove• L21-39 bin/omarchy-theme-refresh• L5-11
Change checklist
When these files or sections are changed, remember to consider these:
- When the palette names, derived color rules, or template precedence change, check direct palette consumers and generated outputs so they resolve the same colors.
- When icon set selection, palette roles, or icon templates change, keep built-in and user set overlays, generated outputs, shell revision updates, and user-owned icon precedence in agreement.
- When a new supported visual tool is added, add its refresh action to the switch pipeline and define how its theme-specific asset is supplied.
- When the switch lock, generation marker, or refresh timing changes, preserve the rule that visible state changes first and superseded batches cannot restore older colors.
- When terminal, editor, or T3 Code asset rules change, keep generated output validity and the installed-theme allowlist aligned with the code-execution trust boundary.
- When T3 Code styling changes, keep its stable theme identity, generated palette and CSS, and live compositor corner radius in agreement.
- When glass mode changes, keep its reversible markers consistent across theme files and the user GTK stylesheet.
- When tmux, editor, or Fcitx5 sync changes, preserve updates for already-running sessions and the user-choice rules for supported tools.
- When intro naming or background transition rules change, keep matching media discovery, startup playback, theme-switch playback, and the disable toggle in agreement.
- When machine sync changes, preserve the two-sided opt-in rule and the marker that prevents remote changes from returning to the sender.
- When preview or background media rules change, keep the picker cache, background selection, per-theme remembered state, and active-theme state in agreement.
- When the active-theme refresh path changes, preserve the wait behavior needed by installers and migrations.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| The selected name does not match a bundled or user theme | The change stops and the active theme remains in place. | Validate the name and confirm the theme exists before staging. |
| A theme has no usable background media | The palette can apply without a new background transition. | Keep at least one supported background or choose user media separately. |
| A matching intro clip is not available in the installed theme assets or animations are disabled | The background changes without the intro video. | Provide the matching clip through the installed theme assets and leave intros enabled when needed. |
| The palette has no readable background, foreground, or accent | Omarchy app icons are not generated for that theme. | Keep those core palette roles valid or provide a complete supported palette. |
| A Git-installed theme contains Lua, terminal launch config, or vscode.json | Those files do not reach the active staged theme. | Treat remote themes as visual input and rely on palette-driven generation. |
| A theme switch starts while an older switch is still refreshing applications or icons | The old batch is skipped or delayed while the newer theme becomes visible. | Serialize the shared switch and reject superseded refresh batches. |
| A generated template or tool refresh fails | Some applications keep the prior appearance while the desktop changes. | Report failed refresh commands and use the theme-set log for detached work. |
| T3 Code is absent, or its generated palette or CSS has unresolved colors | T3 Code keeps its prior theme and does not receive the new palette. | Sync only an existing T3 Code install and publish only complete generated output. |
| The generated Fcitx5 theme is missing or the service does not reload | The candidate window can keep its prior appearance until Fcitx5 reloads its config. | Keep the generated asset in the active theme and use the dedicated reload action. |
| An application does not expose a supported sync path | That application keeps its previous appearance after the global switch. | Use a generated template where supported or select the theme in the application. |
| Obsidian is switched globally without selecting its Omarchy theme | Obsidian does not change with the rest of the session. | Select the Omarchy theme under Obsidian's appearance settings. |
| Remote sync is off or the target has no active Hyprland session | The local theme changes but the remote machine does not. | Enable sync on both machines and keep a live desktop session on the target. |
Key files
| File | Why to read it |
|---|---|
| manual/06-themes.md | Describes the user-facing theme, background, and unlock experience. |
| manual/43-making-your-own-theme.md | Defines the user theme model, palette role, templates, and install trust boundary. |
bin/omarchy-theme-set | Shows the end-to-end transition from a selected theme to the active desktop and post-switch refreshes. |
bin/omarchy-theme-switcher | Shows how themes become selectable through preview media and cached picker rows. |
bin/omarchy-theme-set-templates | Shows how the shared palette becomes settings and icon inputs for tools that use generated files. |
bin/omarchy-theme-icon-palette | Shows how semantic palette values become stable roles for Omarchy app icons. |
bin/omarchy-theme-set-icons | Shows how the selected icon set is layered, rendered with theme colors, and published safely. |
bin/omarchy-theme-set-glass | Shows the optional reversible glass settings for supported visual tools. |
bin/omarchy-theme-color | Defines the common palette resolution and light/dark mode behavior. |
bin/omarchy-theme-set-tmux | Shows how open tmux sessions and panes receive the current palette. |
bin/omarchy-theme-set-vscode | Shows how editor descriptors or the generated Omarchy theme reach supported editors. |
bin/omarchy-theme-set-t3code | Shows how the generated theme and compositor corner radius reach T3 Code. |
bin/omarchy-theme-set-fcitx5 | Shows how the generated theme reaches the Fcitx5 candidate window while preserving an explicit user choice. |
bin/omarchy-theme-install | Shows how external repository URLs are checked, names are constrained, themes enter the user catalog, and the safe staging path starts. |
bin/omarchy-theme-remove | Shows how user-installed themes leave the catalog. |
bin/omarchy-theme-refresh | Shows how the current theme is re-applied after template or system changes. |
bin/omarchy-theme-bg-current | Shows how the active background is exposed as a user-facing name. |
bin/omarchy-theme-bg-next | Shows how the next background is selected from theme and user media. |
bin/omarchy-theme-bg-set | Shows how a direct background choice reaches the active shell. |
bin/omarchy-theme-bg-switcher | Shows how the background menu combines theme media with user media for the active theme. |
bin/omarchy-theme-bg-intro | Shows how users enable or disable background intros. |
bin/omarchy-theme-bg-boot-intro | Shows how matching intro media is prepared and played during startup or theme changes. |
bin/omarchy-theme-set-herdr-machines | Shows the optional cross-machine theme sync and its loop guard. |
| themes/…/colors.toml, themes/…/colors.toml | Show light and dark palettes with an explicit icon role override. |
| themes/…/colors.toml | Provides a compact example of the shared palette shape. |
| themes/…/colors.toml | Provides another current example of the shared palette shape. |
themes/kanagawa/hyprland.lua | Shows how a theme can add compositor border and terminal opacity settings. |
themes/catppuccin-latte/neovim.lua, themes/catppuccin/neovim.lua, themes/everforest/neovim.lua, themes/rose-pine/neovim.lua | Show how themes select editor colorschemes and local visual options. |
| themes/…/3-roadster-starlight.webp | Illustrates a theme-provided still background asset. |
themes/tokyo-night/backgrounds/intros/0-winding-road.mp4 | Illustrates the matching intro asset used for a theme background. |
| themes/…/2-geometric.webp | Illustrates a theme-provided still background asset. |
| install/…/theme.sh | Shows first-run theme selection and the link used by btop for the active theme. |