Skip to main content
MangoWCMangoWC
Window Management

Layouts

Configure and switch between different window layouts.

Supported Layouts

MangoWC supports a variety of layouts that can be assigned per tag.

  • tile
  • scroller (PaperWM-like)
  • monocle (Fullscreen focused)
  • grid
  • deck
  • center_tile
  • vertical_tile
  • right_tile
  • vertical_scroller
  • vertical_grid
  • vertical_deck

Scroller Layout

The Scroller layout positions windows in a scrollable strip, similar to PaperWM.

Configuration

SettingDefaultDescription
scroller_structs20Width reserved on sides when window ratio is 1.
scroller_default_proportion0.8Default width proportion for new windows.
scroller_focus_center0Always center the focused window (1 = enable).
scroller_prefer_center0Center focused window only if it was outside the view.
edge_scroller_pointer_focus1Focus windows even if partially off-screen.
scroller_proportion_preset0.5,0.8,1.0Presets for cycling window widths.

Master-Stack Layouts

These settings apply to layouts like tile and center_tile.

SettingDefaultDescription
new_is_master1New windows become the master window.
default_mfact0.55The split ratio between master and stack areas.
default_nmaster1Number of allowed master windows.
smartgaps0Disable gaps when only one window is present.
center_master_overspread0(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

On this page