Configuration
One file, ~/.config/atrium/config.kdl, in KDL. It hot-reloads: save and the change applies. Mod+Shift+R reloads by hand. A parse error keeps the previous config running and shows an error overlay.
The installed copy at /usr/share/atrium/default-config.kdl is the annotated reference; it is reproduced in full under Default configuration.
Sections
| Node | What it configures |
|---|---|
input | Keyboard (xkb layout, numlock), touchpad, mouse, trackpoint, focus-follows-mouse, warp-mouse-to-focus |
output "name" | Mode, scale, transform, position per monitor. atrium msg outputs lists names and modes. |
layout | Default algorithm, gaps, focus ring, border, shadow, default window width, preset widths |
workspace "name" | Label, icon, open-on-output, and a per-workspace layout override |
environment | Variables for everything the compositor spawns. See The session. |
spawn-at-startup | Programs to launch with the session (pipewire, the shell, a wallpaper setter) |
cursor | Cursor theme and size |
hotkey-overlay | Whether the keybind overlay shows at startup |
screenshot-path, screenshot-annotator | Where captures go, or which tool receives them on stdin |
iconify-action | What a client minimize request does |
animations | Off, or a slowdown factor |
window-rule | See Window rules |
binds | See Keybindings |
debug | Backend knobs, including render-drm-device for hybrid GPUs |
Atrium inherits most of niri’s option surface; the niri configuration reference applies for anything not covered here, except niri’s scrolling-layout options, which Atrium does not have.
Hybrid GPU
If compositor and consumer use different GPUs with incompatible DMA-BUF modifiers, selecting a matching render device can help:
debug {
render-drm-device "/dev/dri/renderD129"
}
Find the right node with ls -l /dev/dri/by-path/; render-node numbers are machine-specific. This setting requires a compositor restart. Capture also supports shared-memory buffers, with a debug switch for isolating DMA-BUF negotiation. See atrium-portal.
Files next to it
Shell composition lives at ~/.config/atrium-shell/config.kdl, separate from the compositor configuration. A composition can select a theme file. RSS and weather widgets retain their own settings files under ~/.config/atrium/ unless overridden. See Shell and Widgets.