mangowmmangowm

Layouts

Configure and switch between different window layouts.

Supported Layouts

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

  • tile
  • scroller
  • monocle
  • grid
  • deck
  • center_tile
  • vertical_tile
  • right_tile
  • vertical_scroller
  • vertical_grid
  • vertical_deck
  • dwindle
  • fair
  • vertical_fair

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.9Default 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.
scroller_prefer_overspread1Allow windows to overspread when there's extra space.
edge_scroller_pointer_focus1Focus windows even if partially off-screen.
edge_scroller_focus_allow_speed0.0Allow pointer focus to happen if the pointer moves at a speed greater than this value.
scroller_proportion_preset0.5,0.8,1.0Presets for cycling window widths.
scroller_ignore_proportion_single1Ignore proportion adjustments for single windows.
scroller_default_proportion_single1.0Default proportion for single windows in scroller. Requires scroller_ignore_proportion_single=0 to take effect.

Warning: scroller_prefer_overspread, scroller_focus_center, and scroller_prefer_center interact with each other. Their priority order is:

scroller_prefer_overspread > scroller_focus_center > scroller_prefer_center

To ensure a lower-priority setting takes effect, you must set all higher-priority options to 0.

# Example scroller configuration
scroller_structs=20
scroller_default_proportion=0.9
scroller_focus_center=0
scroller_prefer_center=0
scroller_prefer_overspread=1
edge_scroller_pointer_focus=1
edge_scroller_focus_allow_speed=0.0
scroller_default_proportion_single=1.0
scroller_proportion_preset=0.5,0.8,1.0

Master-Stack Layouts

These settings apply to layouts like tile and center_tile.

SettingDefaultDescription
new_is_master1New windows become the master window.
default_master_factor0.55The split ratio between master and stack areas.
default_master_count1Number of allowed master windows.
center_master_overspread0(Center Tile) Master spreads across screen if no stack exists.
center_when_single_stack1(Center Tile) Center master when only one stack window exists.
# Example master-stack configuration
new_is_master=1
smart_gaps=0
default_master_factor=0.55
default_master_count=1
tag_num=9
tag_gather=0

Dwindle Layout

The Dwindle layout arranges windows as a binary tree of recursive splits. Each new window splits the focused window's container, producing a spiral-like tiling.

Configuration

SettingDefaultDescription
dwindle_split_ratio0.5Ratio used for new splits (0.05–0.95).
dwindle_smart_split0Pick the split axis from the cursor's position inside the focused window. The new window appears on the cursor's side.
dwindle_horizontal_split1Side-by-side splits: where the new window goes. 0 = follow cursor, 1 = right, 2 = left.
dwindle_vertical_split1Top/bottom splits: where the new window goes. 0 = follow cursor, 1 = below, 2 = above.
dwindle_preserve_split0Keep the sibling's split orientation when a window is closed.
dwindle_smart_resize0When dragging to resize, move the split toward the cursor regardless of which side was grabbed.
dwindle_drop_simple_split1Drag-to-tile drop preview. 1 = 2-zone preview matching dwindle_split_ratio, 0 = 4-quadrant preview.
dwindle_manual_split0Manually split windows mode.
# Example dwindle configuration
dwindle_split_ratio=0.5
dwindle_smart_split=0
dwindle_horizontal_split=0
dwindle_vertical_split=0
dwindle_preserve_split=0
dwindle_smart_resize=0
dwindle_drop_simple_split=1

Monocle Layout

The Monocle layout shows a single window at a time, with the other windows on the tag stacked behind it.

Configuration

SettingDefaultDescription
monocle_tab_mode1Auto merge stacked windows into a tab in monocle layout.
monocle_right_button_close0Right click on the tab bar closes that window.
monocle_no_border0Remove window borders from tiled windows (including maximized ones) while the monocle layout is active.
monocle_no_gap0Remove gaps around tiled windows (including maximized ones) while the monocle layout is active.
# Example monocle configuration
monocle_tab_mode=1
monocle_right_button_close=0
monocle_no_border=0
monocle_no_gap=0

Deck Layout

The Deck layout keeps the master area visible and stacks the remaining windows as a deck of cards.

Configuration

SettingDefaultDescription
deck_tab_mode1Auto merge stack area windows into a tab in deck layout.
# Example deck configuration
deck_tab_mode=1

Switching Layouts

SettingDefaultDescription
circle_layout-A comma-separated list of layouts switch_layout cycles through,the value sample:tile,scroller.

You can switch layouts dynamically or set a default for specific tags using Tag Rules.

Keybinding Examples:

# Cycle through layouts
circle_layout=grid,scroller,tile
bind=SUPER,n,switch_layout

# Set specific layout
bind=SUPER,t,setlayout,tile
bind=SUPER,s,setlayout,scroller

On this page