Skip to content

Theming

Make the whole desktop match one look: compositor ring and background, bar colors, session wallpaper, GTK and Qt apps, cursor, fonts, dark mode, the login screen, and the terminal, prompt, editor and monitor configs, all from one look choice. Set it in the desktop profile:

configuration.nix and home.nix
programs.scoot = {
desktop.enable = true;
look = "linen"; # "afterglow" (default) | "hearth" | "nocturne" | "sumi" | "frostline" | "graphite" | "matte-ink" | null (no theming)
};

The default is afterglow: an empty desktop config themes. Set look = null explicitly to theme nothing. programs.scoot.looks lists the catalog (default: every shipped look; add paths to your own source look directories, or a flake’s lookPacks.<name>, beside the names). Each look renders at build time; each activation runs scoot look sync, which starts a fresh state on the declared default, switches when it changed, falls back when the live choice left the catalog, and otherwise keeps the live choice. A swap (scoot look apply, the Mod+Shift+T cycle, the IPC request) takes effect at once; the declaration only wins when it changes.

Look Ring / background Wallpaper
afterglow (default) coral #fd8c60 on charcoal #141615 a lavender-to-amber gradient with a banded poster sun The afterglow look: a translucent capsule bar over two dark terminal cards, a coral ring, a banded sun on a lavender-to-amber gradient
linen ink blue #2f5596 on paper #f7f2ea a risograph landscape: hills, a white house, cypresses and a coral sun The linen look: a paper capsule bar over two light terminal columns, an ink-blue focus ring, a risograph landscape with a coral sun in the open third
nocturne periwinkle #7da6ff on deep indigo #16161f a lit harbor city under aurora curtains The nocturne look: a mono bar over two indigo terminal columns, a periwinkle ring, a lit harbor city under green and violet aurora in the open third, its landmark tower beside a crescent moon
hearth clay #d97a54 on warm graphite #1c1b1a desert spires against a banded ember sun The hearth look: a floating capsule bar over two terminal columns on warm graphite, a clay focus ring, desert spires and a banded sun in the open third
sumi paper #dcd7ba ring, gold #c0a36e accent, on ink #1f1f28 a hanko-red sun over misty ink ridges, a pagoda and a pine The sumi look: a capsule bar over two ink-dark terminal columns, a paper-colored ring, a red sun and a pagoda behind the terminals, a gnarled pine in the open third
frostline rose-peach #ffb199 on navy #151b2e a rose-lit snow peak, a crescent moon and a lit cabin The frostline look: a frosted capsule bar over two navy terminal columns, a rose-peach ring, a snow peak and a lit cabin behind the terminals, a crescent moon in the open third
graphite indigo #7170ff on near-black #0f1011 an indigo bloom over a dot grid The graphite look: a flush bar over two near-black terminal columns, an indigo ring, a dark wallpaper with a faint indigo bloom
matte-ink amber #e68e0d on black #121212, square corners an amber halftone sun The matte-ink look: a flush square bar over two black terminal columns, an amber ring, an amber halftone dot field

Each look’s wallpaper is a WebP at 2560x1440, drawn from the wallpaper.scene.json beside it by the design lab. fill mode scales it to the output: on a 4K output it is upscaled 1.5x, so fine detail is softer than at 1440p.

Each scene puts its focal subject (a sun, a moon, a peak, spires or a building) in one third of the output. scoot opens new columns from the left edge, so the side decides when you see the subject:

Side Empty workspace One window open (default 1/2 column) Looks
right shows shows afterglow, linen, hearth, matte-ink, nocturne
left shows covered; the right half shows the rest of the scene frostline, sumi
center shows covers about half of a subject at the center none of the shipped looks

Two default columns fill the output, so no side shows then. graphite has no focal subject.

The side is the composition field of the look’s wallpaper.scene.json:

Field Type Default Applies
composition "left", "center" or "right" "right" when the WebP is baked again
{ "version": 1, "composition": "left", "layers": [{ "type": "sky" }, { "type": "sun", "x": "focus" }] }

The focus anchor resolves to the middle of that third. scoot loads only the WebP, so a changed scene takes effect once it is baked again. The design lab draws a changed scene in the browser, and its export carries a WebP 1920 pixels wide at the aspect of the lab’s output (1920x1080, or 1920x1200 at 1280x800), with nothing to install. To make a new wallpaper there without writing a scene, use the editor’s Generate tab: pick a scene and a style, compare scored variants on the default desktop, keep one, and download the look’s bundle.

The 2560x1440 file a shipped look carries is baked from a checkout of the repository. That bake needs Node 22.18 or later and a Chromium with WebGL on SwiftShader, named by CHROME; pnpm install brings the Playwright driver. The pinned Chromium is the flake’s (nix build --inputs-from . nixpkgs#chromium), and the bake refuses to run on a browser without WebGL2 on SwiftShader or a CHROME that is not an executable. It writes looks/NAME/wallpaper.webp at 2560x1440 and its bake manifest, wallpaper.bake.json, beside it; commit both:

Terminal window
cd lab
pnpm install
chromium=$(nix build --inputs-from .. nixpkgs#chromium --no-link --print-out-paths) &&
CHROME=$chromium/bin/chromium node scripts/wallpapers.cjs NAME

The lab README lists the bake’s other options.

The desktop around each look (gaps, bar geometry and modules, launcher and notification sizes, terminal size and padding) is in docs/examples/<name>/. These are your own config files, not part of the look. To use one, copy them to where each program reads its config:

Terminal window
ex=docs/examples/afterglow # in a checkout of the repository
cp $ex/scoot.toml ~/.config/scoot/config.toml
cp $ex/bar.toml ~/.config/scoot/bar.toml
cp $ex/launch.toml ~/.config/scoot/launch.toml
cp $ex/notify.toml ~/.config/scoot/notify.toml
cp $ex/foot.ini ~/.config/foot/foot.ini

The example foot.ini carries a fixed palette. To have foot follow look swaps, replace its [colors] section with include=~/.local/state/scoot/look/foot.ini.

foot needs no file of yours. Inside a scoot session, a terminal started without a ~/.config/foot/foot.ini takes the active look’s colors (light terminals under a light look), its fonts.mono at fonts.terminal-size, and a 12 px padding. scoot look apply renders that default to ~/.local/state/scoot/look/xdg/foot/foot.ini, and scoot puts ~/.local/state/scoot/look/xdg first in XDG_CONFIG_DIRS for the programs it starts (and names that entry in SCOOT_LOOK_XDG). If fonts.mono is not installed when the look is applied, the default uses fontconfig’s monospace instead; installing the font takes effect at the next scoot look apply. foot reads only the first config it finds, and your XDG_CONFIG_HOME comes before XDG_CONFIG_DIRS, so a foot.ini of your own replaces the default whole. A swap reaches new terminals; running ones keep their colors.

Symptom: foot is not themed in a scoot session. You have a foot.ini (it wins), the terminal was not started by scoot, or no look has been applied yet. Only programs scoot starts (keybindings, the launcher, scoot msg action spawn) get its XDG_CONFIG_DIRS: programs systemd starts do not, among them foot --server run as a user unit (its footclient windows) and anything the scootbar unit spawns. echo $XDG_CONFIG_DIRS in the terminal shows whether the look’s entry is first. For a systemd-started foot, include ~/.local/state/scoot/look/foot.ini from a foot.ini of your own.

Each replaces a file you may already have; merge by hand to keep your own settings ($XDG_CONFIG_HOME replaces ~/.config when it is set). config.toml takes effect with scoot msg reload, the bar with scootbar msg reload, the launcher at its next open, notifications with scootnotify msg reload, foot in new terminals. The bar file names icon glyphs from a Nerd Font: uncomment its fallback-fonts hint and point it at a symbols font for them.

ginger-night, moonrise, music-desk, radial-burst and vinyl-sunset were retired in 0.8. A name you still use keeps working as the look that replaced it, with a note each time:

Retired Now applies
ginger-night hearth
moonrise sumi
music-desk linen
radial-burst afterglow
vinyl-sunset frostline

Where a retired name keeps working:

  • programs.scoot.look, greeter.look, stylix.extends and looks in the Nix modules, with an evaluation warning.
  • scoot look apply and scoot msg look-apply (the reply names the look that applied), look auto units installed before the upgrade, a user look whose extends names a retired look, look new --from and --base, and look show, validate, build and preview.

What happens to the look you are on:

  • Nix (home-manager or NixOS). Each activation runs scoot look sync. A live choice that was retired moves to its replacement, with a note. A look you picked by hand stays picked: the profile’s new default replaces it only if you were still on the old default (ginger-night), in which case you move to afterglow.
  • install.sh. Re-running with --look NAME on 0.8 or later applies that look, then removes the retired looks the installer placed earlier (only those files; your own looks stay). A retired name for --look installs its replacement.
  • Anything else (a plain binary install updated by hand): the session keeps showing the look it had until you apply another. If the retired look’s files are gone, its wallpaper is missing until then. scoot look sync (no declared default needed) moves a retired live choice to its replacement.

A look of your own with a retired name is still yours and wins. Change the name in your config to stop the note.

Since 0.8 the rendered foot.ini also sets the terminal’s background and foreground from the look’s palette (it used to set the sixteen hues only). A look of your own now colors foot’s field and text too; set them after the include line in your foot.ini to keep your own.

Each look’s tokens live in looks/<name>/look.toml, in the look format. The manifest is the same on a Nix install and a plain binary install. A check validates and renders every look there and fails on a missing role.

A headless session (scoot --headless, the agent and CI path) starts on a private copy of your look choice: swaps inside it never touch your desktop. --tty and --nested sessions use your choice directly, so their swaps survive a restart; --private-look gives any session a private copy instead. See backends.

The compositor and the bar read the active look as a runtime layer under your own files: per key, your file wins, then the look, then the app default ([wallpaper] is one unit: a key of yours there keeps your whole section). A swap never rewrites your files, and nothing sits above the look except your own values. GTK, Qt and the rest below still read files, so a look change reaches newly started apps, running ones where their toolkit watches:

File the profile writes From the look Takes effect
the look layer (~/.local/share/scoot/rendered/<name>, pointed at by the state link) ring colors and widths, background, corners, cursor, bar colors and style, the wallpaper live, on apply or sync
~/.config/gtk-3.0/settings.ini, ~/.config/gtk-4.0/settings.ini Adwaita (Adwaita-dark for a dark look), Adwaita icons, the look’s proportional sans and cursor, the dark preference Next launch; running apps do not re-read it (the keys that also live in dconf follow live, next row)
~/.config/gtk-3.0/gtk.css, ~/.config/gtk-4.0/gtk.css the look’s text selection (GTK 3) and accent and surfaces (libadwaita) Next launch: GTK 3 selection plus libadwaita follow; plain GTK 4 keeps its stock accent; running apps keep their palette (gtk.css is never re-read)
dconf org.gnome.desktop.interface (color-scheme, gtk-theme, icon-theme, cursor-theme, cursor-size, font-name), written by scoot look apply prefer-dark for a dark look, prefer-light for the light one, the Adwaita theme in the look’s polarity, Adwaita icons, the Mocu cursor at 24, the proportional sans Live: GTK 4 and libadwaita follow through the portal; GTK 3 follows the theme, icons, cursor and font through GSettings directly (color-scheme means nothing to GTK 3)
~/.config/qt6ct/qt6ct.conf (through QT_QPA_PLATFORMTHEME=qt6ct) the Adwaita Qt style in the look’s polarity, Adwaita icons, and custom_palette pointing at the scheme below Next launch for the style; running Qt apps keep their palette (an in-place scheme change fires no watcher in qt6ct 0.11)
~/.config/qt6ct/colors/scoot-look.conf a color scheme generated from the look’s palette (dark looks get a dark palette, the light look a light one) Next launch; under the Adwaita style QWidget apps keep Adwaita’s fixed palette instead; a style honoring custom_palette paints the scheme
~/.config/fontconfig/conf.d/10-scoot-look.conf the proportional sans for sans-serif and system-ui, the terminal face for monospace, each only when it is the first family a client asks for Next font lookup (fontconfig rescans lazily); fc-cache is not needed
~/.config/foot/foot.ini the example’s own file foot on restart
~/.config/starship.toml the example’s own file next prompt
~/.config/helix/config.toml + themes/<look>.toml the example’s own files Helix on restart
~/.config/nvim/colors/scoot-look.lua (+ plugin/scoot-look.lua with targets.editor.nvim.enable) the look’s own colorscheme (loaded on demand; selected only with nvim.enable) running nvim recolors live (its own file watcher); new nvim reads it at startup
~/.config/btop/btop.conf + themes/<look>.theme the example’s own files btop on restart
~/.local/share/fcitx5/themes/scoot-look/theme.conf (needs inputMethod.enable) a classic-UI theme generated from the look’s palette (accent selection, background surfaces) fcitx5 on restart (the unit restarts into a new theme)
~/.config/fcitx5/conf/classicui.conf (needs inputMethod.enable) Theme=scoot-look (plus DarkTheme=scoot-look for the portal dark path) fcitx5 on restart
ReGreet (NixOS, needs greeter.enable) the session wallpaper behind the login card, the dark setting, the look’s CSS and proportional sans next login

An upstream home-manager module owns the paths it actually writes: gtk.enable owns both settings.ini files (its extraCss/theme the gtk.css files) and qt.enable with qt6ctSettings owns qt6ct.conf; the look’s file stays out of each owned path while the rest stays themed. A key you or another module sets under org.gnome.desktop.interface stays home-manager’s too: the catalog records it beside the declared default, and sync leaves it alone.

The shipped looks carry their shape: rounded windows (square for matte-ink), ring widths, bar padding and spacing. To keep square windows, set settings.appearance.corner_radius = 0; your file wins per key. Every shipped look carries the shell, editor and monitor files.

Two session variables carry the theme into apps: QT_QPA_PLATFORMTHEME=qt6ct (reads the config above) and QT_PLUGIN_PATH (the qt6ct and Adwaita-Qt plugin dirs). A value you set for the user session wins whole. Shells compose instead: the theme’s plugin dirs ride home.sessionSearchVariables, which home-manager prepends before your own $QT_PLUGIN_PATH at login, so put extra plugin dirs there to keep both.

Per-target opt-out is Stylix-style: one flag per themed piece under one namespace, every target on by default. See the option table for the full list:

home.nix
programs.scoot.desktop.theme.targets.lock.enable = false; # keep swaylock's own style

desktop.bar.enable means “manage the bar at all” and is never a theme switch.

Generated from the look’s palette where the format is mechanical: settings.ini, gtk.css, qt6ct.conf and its color scheme, the fontconfig snippet, the ReGreet dark setting, the cursor and font names. Installed as the example’s own static file where the palette is placed by hand: foot.ini, starship.toml, the Helix config and theme, the Neovim colorscheme, the btop config and theme, and regreet.css. A terminal palette is sixteen hand-placed hues, not six bar roles projected wider, so the flake applies the file instead of synthesizing one.

Card rules in regreet.css stay scoped to frame.background, never bare frame: ReGreet’s login card and its clock card carry the background class, while the empty notification bar above Reboot/Power Off carries none (ReGreet 0.5.0). A bare frame rule also inks that empty bar, leaving a blank card when there is nothing to report (GTK CSS has no :empty). The shipped sheets scope theirs, and the card-scope gate (scripts/check-regreet-css-scope.sh) refuses a bare frame selector in any of them or in a docs CSS snippet. Writing your own sheet? Copy the header comment’s rule: frame.background (and frame.background > border for the inner border) for the cards, nothing bare.

Symptom: an empty rounded card above Reboot/Power Off on the login screen.

The greeter CSS styles bare frame, which also matches ReGreet’s empty notification bar. Scope the card rules to frame.background (see above); the shipped looks already do.

The app accent is the bar’s own accent, and the app surfaces are the bar’s background and foreground, with no new hues, so app text contrast equals bar text contrast (checked at AA). Semantic colors (destructive, success, warning, error) stay the toolkit defaults: the look names no hues for them, and inventing any would break the same rule.

The looks set Inter for the bar and UI text (GTK and Qt apps, the greeter, fontconfig sans-serif) and JetBrains Mono for terminals and editors; nocturne and matte-ink put the bar in JetBrains Mono, and matte-ink uses it everywhere. The profile installs the faces the look names (pkgs.inter, pkgs.jetbrains-mono). Inter ships as a variable font, and the bar draws its regular instance.

Each look declares dark or light (linen light, the other seven dark): that drives gtk-application-prefer-dark-theme, the Adwaita variant on both toolkits, the toolkit keys apply and sync write, and the greeter’s dark setting. X11 apps through XWayland read the same settings.ini and qt6ct.conf. No settings daemon runs for them, and the theme sets no Xft.dpi: the compositor publishes the output scale and XWayland follows it. Flatpak apps need the config files exposed into the sandbox; see the Flatpak symptom.

With Stylix in use (config.lib.stylix exists and stylix.enable is on), the catalog gains a look named stylix, synthesized from the Stylix palette at build time, and the declared default follows it. No app module reads Stylix: it reaches the desktop only as that look. Nothing here needs Stylix, and nothing changes without it.

The look carries the sixteen base16 slots as its palette, the sans-serif and monospace faces, the desktop / popups / applications / terminal sizes, the popups and terminal opacity, the cursor name and size, and stylix.image with its scaling mode. Everything the palette does not set comes from the base look: the wallpaper when no image is set, the terminal hues and static editor files, the night temperature, and the shape and opacity. Dark or light follows stylix.polarity. A face or cursor name the look grammar cannot carry (a non-Latin name, for example) is left out with a warning naming it: the faces fall back to the base look’s, the cursor to the default.

  • programs.scoot.stylix.enable — Type: bool. Default: true. Synthesize the stylix look and make it the declared default. Set to false to drop the synthesis with Stylix present.
    home.nix
    programs.scoot.stylix.enable = false;
  • programs.scoot.stylix.extends — Type: null or string. Default: "afterglow" with the desktop profile on, null otherwise. The base the synthesized look extends; it resolves through looks, so list a custom base there. Null extends nothing: the Stylix palette alone.
    home.nix
    programs.scoot.stylix.extends = "sumi";
  • programs.scoot.stylix.wallpaper.enable — Type: bool. Default: true. Carry stylix.image and its scaling mode into the look. Set to false for a solid color: the image stays out, so a color you set stands alone (the palette, fonts, cursor and the rest stay Stylix’s).
    home.nix
    programs.scoot.stylix.wallpaper.enable = false;

The declared default follows a ladder, highest first: a look you set, then stylix while it is synthesized, then the profile’s afterglow, then nothing (plain value, mkDefault, mkOverride 1200, the option default). To pin a look under Stylix, set look; the live choice in <state>/look.json still beats the declaration until it changes (see scoot look sync).

What changes, by setup:

  • Profile users with Stylix and no explicit look: GTK and Qt colors, mako, fuzzel and the pickers, swaylock, wob and fcitx5 move from afterglow’s palette to Stylix’s, matching the compositor and bar. Compositor and bar colors and fonts, the wallpaper, the night temperature, and the terminal, shell, editor and monitor files stay as they are.
  • Stylix with an explicit look: the look wins in the compositor and bar. Paths a Stylix target writes stay Stylix’s (next paragraph), so the desktop stays split until those targets go off.
  • Stylix without the profile: nothing visible changes. The stylix look has no base; its colors, fonts, cursor and wallpaper equal what the old per-setting defaults produced.

One look everywhere needs the Stylix targets off: scoot never writes a path an upstream module owns, so with stylix.targets.<app>.enable on, that app’s files stay Stylix’s whatever the look. scoot look apply names those apps as owned by Stylix’s target; the module records them in ~/.config/scoot/look-stylix-targets (gtk, qt, foot, mako, fuzzel, swaylock, wob, fcitx5, starship, helix, btop). Turn off each target you want themed:

home.nix
stylix.targets.mako.enable = false;

A direct-module setup without the flake’s overlay has no scootbg package: the wallpaper default then stays off rather than failing. Set programs.scoot.wallpaper.enable = false explicitly to own the wallpaper daemon yourself (and point settings.wallpaper.command at it, or leave the section to find scootbg on PATH).

To try colors before writing any file, open the design lab in a browser. It draws the desktop, bar, launcher, notifications and lock screen from a look’s tokens, checks each color pair’s contrast, and exports the look.toml (with its wallpaper) for the steps below. It runs in the page; nothing you load or edit is uploaded.

Start from a catalog look, then watch the directory while you edit it. No step here needs Nix. See Authoring for the full pass.

Terminal window
scoot look new my-green --from moonrise # writes user-looks/my-green/look.toml
scoot look new dusk --from-image dusk.jpg # or a whole look from your own wallpaper
scoot look watch ./my-green --no-toolkit # validate and apply on every save
scoot look preview my-green --capture # screenshot the look into preview.png

new NAME --from BASE writes a source look with extends = "BASE": the new look inherits every token and overrides from there. BASE names a shipped, declared or user-authored source look, never an installed one and never a rendered one. A look made with new is user-authored, so it can be the next new’s base. new NAME --from-image PATH instead builds a complete look from an image, every contrast pair passing (see From your own wallpaper). watch DIR validates and applies on every save (debounced); an invalid save is refused loudly and the last good look stays. preview --capture renders the look in a private headless session and writes preview.png beside its look.toml.

A directory validates with scoot look validate DIR and renders with scoot look build DIR --out OUT without applying. The manifest shape is the format: palette, fonts, opacity, shape, cursor, wallpaper, plus a wallpaper image and, where the look has its own, terminal and shell files and a preview. Your own looks live in ~/.local/share/scoot/user-looks/.