Windows & surfaces
Windows live on the canvas. Floating, fullscreen, overlay, global and scratchpad states work as they do in Mango.
Window states
| State | Command |
|---|---|
| Floating | togglefloating |
| Maximized | togglemaximizescreen |
| Fullscreen | togglefullscreen |
| Fake fullscreen | togglefakefullscreen |
| On all tags | toggleglobal |
| Always on top | toggleoverlay |
| Minimized | minimized / restore_minimized |
| Scratchpad | toggle_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