Skip to content

Appearance

scoot draws no titlebars. A focused window gets a colored ring drawn around it, in the layout’s gap, over a solid background. This table controls the ring, the background and the built-in pointer cursor. Everything here re-applies live with scoot msg reload.

Field Type Default Meaning
focus_ring_width integer (pixels) 3 Ring thickness around the focused window, drawn around what the window actually draws (a window smaller than its slot is ringed where its content ends). Clamped to at most half of gap.
focus_ring_inactive_width integer (pixels) unset (same as focus_ring_width) Ring thickness around every window that is not focused. 0 draws no ring at all on unfocused windows.
focus_ring_active_color "#rrggbb" / "#rrggbbaa" #6ba6fa (accent blue) Ring color around the focused window. A fully transparent color (alpha 00) counts as no ring, exactly as width 0: nothing is drawn and the corners keep 1px steps (see smooth corners).
focus_ring_inactive_color "#rrggbb" / "#rrggbbaa" #595961 (muted gray) Ring color around every other window. Alpha 00 counts as no ring, as above.
focus_ring_app_tint float, 0.0 to 1.0 0.0 How far the focused window’s ring turns toward its app’s hue (the hue that app’s notification cards, launcher tile and bar title dot carry). The ring keeps focus_ring_active_color’s lightness and chroma and rotates only its hue, along the shorter way round, so it never turns gray or loses contrast. 0.0 is the plain focus_ring_active_color, 1.0 the app’s hue. Out of range clamps (NaN is 0.0). Re-applied live by scoot msg reload and a look swap. Costs nothing per frame: the color is worked out again only when focus moves to another app or the appearance changes. Afterglow sets 0.25 and Linen 0.35 (look key shape.ring-tint).
focus_ring_glow float, 0.0 to 1.0 0.0 (no glow) A soft glow of the focused ring’s color around the focused window, so it reads as lit rather than outlined. It fades out over about 13 logical pixels past the window’s edge, under every window, so it shows in the gaps and never over a neighbor; a floating window’s glow is drawn under it, over the windows below. 1.0 is the strongest: the ring color at about 29 % opacity at the window’s edge (about 24 % just past a 2 px ring), fading to nothing 13 px out. Drawn only around a focused window that has a ring (focus_ring_width above 0, not fullscreen), in the ring’s own color, focus_ring_app_tint included. Out of range clamps (NaN is 0.0). Re-applied live by scoot msg reload and a look swap; a look swap with an animated wallpaper fades it with the ring colors (see Looks). 0.0 draws and stores nothing. Otherwise the glow is drawn from a few small images built once per corner radius, color, strength and output scale, so a move or most resizes cost no repaint. Most shipped looks set 0.3 or 0.35 (look key shape.ring-glow).
background_color "#rrggbb" / "#rrggbbaa" #141419 (near-black) Cleared behind all window content (the frame clear color). Shows wherever wallpaper shows nothing.
corner_radius integer (pixels) 0 (square) Window corner radius in logical pixels. Rounds window content and ring together; clamped per window to half its smaller dimension. Corners with a ring around them are anti-aliased; a window with no ring keeps 1px steps (see smooth corners). Also clips each window to its window geometry, so a client’s own frame or shadow drawn outside it does not show (see client frames outside the window). Costs a little per frame when non-zero. Popups stay square and are never clipped.
corner_profile "circular" / "continuous" "circular" The curve rounded corners follow. "continuous" is a superellipse that flows into the straight edge with no visible seam, the corner shape macOS and iOS draw. It reads as the same size as a circular corner of the same corner_radius, but the bend starts about 1.5 times further from the corner. The ring follows the same curve and keeps one thickness all the way round it. No effect while corner_radius is 0. Any other value logs a warning and uses "circular". Not settable by a look.
cursor_size integer (pixels) 16 The logical size of the built-in pointer cursor, both dimensions (clamped 4..=256; drawn only under --tty). The bitmap is rasterised at round(cursor_size × output scale) physical pixels (16 at 1x, 24 at 1.5x, 32 at 2x), so the on-screen size stays the same and a high-DPI output uses native art 1:1 instead of a stretched bitmap. A real cursor theme likewise contributes the image nearest the physical size; XCURSOR_SIZE exports the logical size. Where no theme is installed, scoot draws Mocu itself (see the built-in cursors below).
cursor_color "#rrggbb" / "#rrggbbaa" #fcfcfc (Mocu white) Fill color of the built-in cursors. The outline follows Mocu’s pairing: #222222 around a light fill, #f9f9f9 around a dark one, both at the fill’s own alpha. So the default is Mocu’s white theme and "#111111" is its black theme. A translucent fill composites, and the outline and shadow follow its alpha. No effect inside a real theme’s artwork.
cursor_theme string unset Which installed xcursor theme named cursor shapes are drawn from. Unset follows $XCURSOR_THEME, then default. A name matching nothing installed is not an error: named shapes come from scoot’s own drawn set.
cursor_hide_after_ms integer (milliseconds) 0 (never hides) How long the pointer sits still over a covering fullscreen window before scoot hides it. While hidden, frames carry no cursor elements, so a fullscreen window can scan out directly even where the pointer cannot ride a plane of its own (no cursor plane and no free overlay, the pointer at a screen edge, a client’s shared-memory cursor image; see backends). Next motion, button or scroll shows it again. Never arms behind the session lock.
prefer_no_csd boolean true Answer decoration requests with ServerSide, so a well-behaved client stops drawing its own titlebar (which would double up with the ring).
[appearance]
focus_ring_width = 4
focus_ring_inactive_width = 2
focus_ring_active_color = "#ffaa00"
focus_ring_inactive_color = "#333333"
focus_ring_app_tint = 0.35
focus_ring_glow = 0.35
background_color = "#101014"
corner_radius = 8
corner_profile = "continuous"
cursor_size = 16
cursor_color = "#111111" # Mocu's black theme

Under home-manager with Stylix, the ring and background colors and the cursor theme and size default from the scheme instead. A value written here always wins. The three built-in color defaults (both rings and the background) are raw floats no hex string reproduces exactly, so leave a color field unset to get the real default and set it only to change it. The cursor color is the exception: its default, #fcfcfc, is exactly representable.

The look you picked in the desktop profile writes these same keys — settings.appearance.background_color = "#123456" beside a look replaces that one color and keeps the rest.

scoot cannot blend a window’s own pixels with what is behind it, so it smooths a rounded corner from the outside. The ring is drawn under the window, so the color just past each corner is known: scoot draws the window’s edge pixels whole and paints the ring color over them, weighted by how much of each pixel lies outside the curve. The ring’s outer edge against the gap is anti-aliased the same way. This works the same on the CPU and GPU renderers and costs four small images per rounded window per frame.

A window with no ring around it has nothing known to blend toward, so its corners keep 1px steps. That is every window when focus_ring_width = 0, and every unfocused window when focus_ring_inactive_width = 0. A ring color with alpha 00 counts as no ring too.

Symptom: rounded corners look stepped on unfocused windows only. Fix: focus_ring_inactive_width is 0, or focus_ring_inactive_color has alpha 00. Set the width to 1 or more and give the ring a visible color to get smooth corners there too. Over a plain background with no wallpaper, a focus_ring_inactive_color equal to background_color keeps that ring invisible and the corners smooth.

Two cases are close but not exact, both under a pixel wide: a ring thinner than about 1.5 physical pixels shows a little ring color past its own outer edge at the corner diagonal, and a translucent ring color blends edge pixels toward the window instead of toward what is behind it.

A client that draws its own decorations (Chrome with its default custom frame, GTK with client-side shadows) can paint outside its xdg_surface window geometry: a 1px border, a drop shadow, resize handles. With corner_radius above 0, scoot shows only what lies inside the window geometry, so those pixels never show in the gap or poke out past the rounded corners and the ring. This applies to every Wayland toplevel, tiled or floating, that is not fullscreen. XWayland windows are rounded at the corners but keep their margin: the geometry clip covers a toplevel’s Wayland surface tree, and an X window has no xdg_toplevel geometry to clip to. Popups and menus are separate surfaces and extend past the geometry.

With corner_radius = 0 the window is drawn unclipped, so a client’s frame stays visible over the ring’s inner edge.

Symptom: with corner_radius = 0, a thin light line follows the window’s edge, drawn over the focus ring. Fix: set corner_radius above 0, or turn off the client’s own frame (Chrome: Settings, Appearance, “Use system title bar and borders”).

A look can supply any key in this table except cursor_hide_after_ms, prefer_no_csd and corner_profile, plus the [wallpaper] section. The compositor reads the active look’s fragment and merges it under this file, key by key, before anything is derived. A key set here always wins. An unset key takes the look’s value. Anything neither sets falls back to the Default column above.

Two exceptions. [wallpaper] merges as one unit: any [wallpaper] key set here keeps the whole section yours, otherwise the look’s whole section applies. And focus_ring_inactive_width follows the layer that set focus_ring_width: setting only the active width drops the look’s inactive width, so the ring follows yours.

The reload reply lists every key of yours that overrides the look (shadowed). A bad color value here falls back to the look’s value for that key, and is listed as invalid (and shadowing). A look fragment with a forbidden key or a bad value is refused whole: startup runs without it and logs, and a reload answers an error and keeps everything. With no look active, this file alone applies.

Where the look lives: the active look’s fragment is $XDG_STATE_HOME/scoot/look/scoot.toml (usually ~/.local/state/scoot/look/scoot.toml), or $SCOOT_LOOK_STATE/look/scoot.toml when that variable names a state dir explicitly. The look entry itself is a link to the rendered look, so switching looks swaps one link. scoot-look build <sourcedir> --out DIR writes scoot.toml, bar.toml and render.json into DIR and creates no link: pass --out <state>/look to render in place, or point <state>/look at DIR afterwards. With Nix the catalog install does this. When the link is absent there is no look layer and this file alone applies. A dangling link or an unreadable fragment warns at startup and refuses a reload whole, keeping everything. A look swap drives a look-scoped reload (scoot msg reload --look), which re-reads only this fragment under a snapshot of this file (see Reloading the config). It works the same on a Nix install and a plain binary install.

Where no cursor theme is installed (a webtop or minimal container), scoot draws its own cursors: Mocu, Severin Meyer’s “modest xcursor theme”, released under CC0 1.0 (public domain). Mocu’s SVG sources are built into scoot unchanged, with their license, and scoot rasterises them itself at each output’s pixel size, as Mocu draws them: white fill, dark outline, a faint drop shadow. The busy spinners show the first frame of Mocu’s animation. cursor_color picks the fill (see above). Nothing is loaded from an image file at runtime.

With the desktop profile you rarely see these. The profile installs Mocu as real XCursor theme files too (same art, white at its native 24 px with Mocu-Black beside it), names it in cursor_theme and exports it for X11 apps, so theme and fallback are the same family. See the desktop profile.

Mocu is drawn on a 24-pixel grid, which is how scoot draws it at 24px and on multiples of it. The default 16px is Mocu downscaled, with each shape fitted to the pixel grid so straight edges stay one crisp pixel and no stem or finger gap blurs away. On a high-DPI output the cursors are rasterised natively at the physical size (round(cursor_size × scale) device pixels), so edges stay sharp where a stretched logical bitmap would go soft. On mixed-DPI sessions each output gets bitmaps at its own scale, and screenshots and captures show the same pixels the frame does. A theme image padded beyond its nominal size draws at that nominal size, like everything else.

The built-in cursors

Every CSS cursor name draws Mocu’s cursor of the same name: default, context-menu, help, pointer, progress, wait, cell, crosshair, text, vertical-text, alias, copy, no-drop, not-allowed, grab, grabbing, the eight edge resizes (n-, e-, s-, w-, ne-, nw-, se-, sw-resize), ns-, ew-, nesw-, nwse-, col- and row-resize, all-scroll, zoom-in, zoom-out and dnd-ask. Two names Mocu has no file for take its own alias: move draws grabbing, and all-resize draws all-scroll. Any name newer than these draws default.

Symptom: the pointer is a plain arrow everywhere. A real cursor theme answered first: cursor_theme (or $XCURSOR_THEME) resolved, and the theme supplies that shape. Unset the theme to see the built-in cursors.