Skip to content

Profiles and palettes

A profile supplies the widgets, libraries, layout and appearance for a desktop style. A palette changes its colors. Select a style in Settings > Styles & Widgets, then choose Use Style. Browsing previews leaves the desktop unchanged until you apply one. The bar and island enable switches remain independent. Saved choices stay with their profile when you switch away and return.

~/.config/omniwm/shell/
├── shell.toml # chooses the profile, holds your settings for each one
├── omniwm.d.luau # type definitions for your editor
├── widgets/ # your widgets, used before any profile's
├── fonts/ # fonts for every profile
├── default/ # managed by OmniWM
└── <profile>/ # styles you install and your own profiles

default/ holds the bundled widgets and themes, and OmniWM updates it with each release. If you edit a managed file, the next update keeps your copy beside it as <file>.edited-<date>. Settings > Advanced > Shell Development > Edit Widget Source… or omniwmctl shell eject <widget> creates an editable copy before you customize an inherited widget. For an OmniWM-managed profile, the copy goes into top-level widgets/; for your own profile, it goes into <profile>/widgets/. Top-level user overrides take precedence over the selected profile; widgets in your own profiles are left alone.

omniwmctl shell init <widget> creates <profile>/widgets/<widget>/init.luau in the selected profile, including default/ when that profile is selected. It leaves an existing destination folder intact. To make a widget an override for every profile, place its folder in top-level widgets/.

Fonts in top-level fonts/ and in <profile>/fonts/ are available to that profile’s widgets by family name. Put shared fonts in fonts/ and style-specific fonts in that profile’s fonts/ folder.

A profile is any other folder in the shell folder. Choose it in Settings > Styles & Widgets with Use Style, with profile = "<name>" in shell.toml, or with omniwmctl shell profile <name>. The Palette picker recolors the selected style and omniwmctl shell theme <name> the active profile, and that profile keeps the choice. Anything a profile does not contain comes from default/.

Each optional style describes its appearance, controls and credits in its README. Each style brings its own palette when it needs one.

Open Settings > Styles & Widgets > Get Styles to install, update or remove a style, then choose Use Style. Installing leaves your current style selected. Style folders you already have keep working.

For another public repository, choose Add from GitHub…, paste its main-page URL (https://github.com/owner/repository), and choose Load. Only install styles from authors you trust: a style runs code in OmniWM. Each browse uses one snapshot of the repository’s default branch. Official styles use your app’s release tag; development builds can use the checkout.

Other GitHub repositories with installed styles appear under Added from GitHub. Browsing alone does not save one; removing its last installed style removes its link.

Update appears when the same source offers a newer style version. If you edited its files, Back Up and Update asks first. A same-named style from another source offers Replace…, showing both sources. Replacements and removals keep the previous copy in your shell folder’s .backups/.

A style’s style.toml gives, in English, its title, summary, version (such as 1.0.0) and the style API it was written for. OmniWM keeps Default when a style was written for another API or a newer OmniWM. Its strings/<locale>.toml files translate the text its widgets and options show; a missing translation falls back to the language, then English, then OmniWM’s own strings.

profile = "default"
profiles.default.theme = "nord" # a generic palette or themes/<name>.toml
profiles.default.leading = ["omniwm", "workspaces", "scratchpads"]
profiles.default.center = ["clock"]
profiles.default.trailing = ["volume", "system-stats"]
[weather]
city = "Toronto" # or latitude = 43.65, longitude = -79.38
units = "celsius" # or "fahrenheit"
refresh = 15 # minutes, at least 5
[profiles.default.widgets.volume]
step = 5 # any keys: the widget reads them as ctx.data.settings
interval = 2 # seconds between timed updates for this widget
[profiles.default.drawer.controls]
edge = "right" # left, right, top or bottom
widgets = ["volume", "media", "calendar"]
hover = true # open when the pointer reaches the edge
[profiles.default.workspaceBar]
height = 40 # also editable in Styles & Widgets
[profiles.default.hiddenBar]
enabled = true # also rehideIntervalSeconds

Everything except profile and [weather] belongs to one profile, under profiles.<name>, so changing one profile never changes another. A profile folder’s own shell.toml takes the same keys without the prefix, and your profiles.<name> settings win over it. Style options in Settings > Styles & Widgets save to the selected style. Both dotted keys and TOML tables are supported. Display-specific choices are saved in profiles.<name>.monitorBarOverrides; they override that profile’s general bar settings. Resetting a control restores the profile default without changing another profile.

The bar lane, widget and drawer keys are described in Bars, popouts, and drawers. Island roots and component instances are described in Islands and components.

Default includes the generic palettes Catppuccin, Dracula, Everforest, Gruvbox, Kanagawa, Monolith, Nord, Rosé Pine and Tokyo Night. A style’s own palettes are offered while that style is selected or previewed.

A theme in themes/<name>.toml sets palette roles under [light] and [dark] (for example accent = "#FF9500") and may set the bar’s look under its own [workspaceBar].

theme = "wallpaper" makes the palette from the main display’s wallpaper, Material 3 style, and scheme picks how: tonalSpot (the default), content, vibrant, expressive, fidelity, fruitSalad, rainbow, neutral or monochrome; Settings > Styles & Widgets > Palette and omniwmctl shell theme wallpaper <scheme> set both. OmniWM writes it to themes/wallpaper.toml and makes it again when the wallpaper, the Space or the displays change. Live wallpaper apps that draw at the desktop level, like Pixeldish, are read from what they show on screen, so the palette follows them on the next Space or display change.

Besides the base roles, the palette has Material 3 style highestSurface, accentContainer, secondaryAccent, secondaryContainer, tertiaryAccent and tertiaryContainer, each container with a …Foreground for text on it; a theme that leaves them out gets readable ones made from its own accent and surfaces.

shell.toml’s [workspaceBar] wins over the theme’s. There, barFill = "surface" paints the bar with a palette role instead of its Settings background, and barBorder = "border" adds a 1 pt edge to that fill; add /0.8 to a role for 80% opacity.

Custom Accent Color and Custom Text Color work with every palette. Resetting a color restores the palette value. The native material and motion appear on the live desktop; Settings previews use the actual widget sources with sample data.

Styles that declare an effect expose its controls under Styles & Widgets > Bar. To make your own effects, see Effects and shaders.

Use development diagnostics to find unknown keys, invalid values and theme errors.