DRAGONFRUIT PROJECT Wayland compositor · Linux Codeberg repository ↗
dragonfruitWayland compositor

Windows & surfaces

Window states, rules, floating windows and layer surfaces

Windows & surfaces

Windows live on the canvas. Floating, fullscreen, overlay, global and scratchpad states work as they do in Mango.

SECTION 02 · Compositor & desktop
Scope: Windows
Repository and source ↗

Window states

StateCommand
Floatingtogglefloating
Maximizedtogglemaximizescreen
Fullscreentogglefullscreen
Fake fullscreentogglefakefullscreen
On all tagstoggleglobal
Always on toptoggleoverlay
Minimizedminimized / restore_minimized
Scratchpadtoggle_scratchpad / toggle_named_scratchpad

A floating window is not on the canvas plane, so it does not pan or zoom with it.

Window rules

Rules match on app_id and title. Both support regular expressions.

window_rule=is_floating:1,width:640,height:420,app_id:pavucontrol
window_rule=is_global:1,app_id:mpv

See the rules reference for every parameter.

Layer surfaces

Panels, launchers, notifications and wallpapers use layer-shell and stay fixed to the screen. Layer rules can set their animations.

layer_rule=animation_type_open:zoom,layer_name:rofi

← Previous

Compositor overview

Next →

Workspaces