Window Management
Layouts
Configure and switch between different window layouts.
Supported Layouts
MangoWC supports a variety of layouts that can be assigned per tag.
tilescroller(PaperWM-like)monocle(Fullscreen focused)griddeckcenter_tilevertical_tileright_tilevertical_scrollervertical_gridvertical_deck
Scroller Layout
The Scroller layout positions windows in a scrollable strip, similar to PaperWM.
Configuration
| Setting | Default | Description |
|---|---|---|
scroller_structs | 20 | Width reserved on sides when window ratio is 1. |
scroller_default_proportion | 0.8 | Default width proportion for new windows. |
scroller_focus_center | 0 | Always center the focused window (1 = enable). |
scroller_prefer_center | 0 | Center focused window only if it was outside the view. |
edge_scroller_pointer_focus | 1 | Focus windows even if partially off-screen. |
scroller_proportion_preset | 0.5,0.8,1.0 | Presets for cycling window widths. |
Master-Stack Layouts
These settings apply to layouts like tile and center_tile.
| Setting | Default | Description |
|---|---|---|
new_is_master | 1 | New windows become the master window. |
default_mfact | 0.55 | The split ratio between master and stack areas. |
default_nmaster | 1 | Number of allowed master windows. |
smartgaps | 0 | Disable gaps when only one window is present. |
center_master_overspread | 0 | (Center Tile) Master spreads across screen if no stack exists. |
Switching Layouts
You can switch layouts dynamically or set a default for specific tags using Tag Rules.
Keybinding Examples:
# Cycle through layouts
bind=SUPER,n,switch_layout
# Set specific layout
bind=SUPER,t,setlayout,tile
bind=SUPER,s,setlayout,scroller