Available Layouts
Tile
Master-stack tiling layout with configurable master window and stack area
Scroller
Horizontal scrolling layout perfect for wide monitors and code review
Monocle
Single window occupies entire screen, cycles through windows
Grid
Automatic grid arrangement that adapts to number of windows
Deck
Card-style layout with master window and stacked background windows
Center Tile
Master window centered with stacked windows on both sides
Vertical Tile
Vertical master-stack arrangement for portrait monitors
Vertical Grid
Grid layout optimized for vertical arrangements
Vertical Scroller
Vertical scrolling layout for stacked workflows
Vertical Deck
Vertical variant of deck layout
Right Tile
Master window on right side with stack on left
TGMix
Mixed tiling and grid layout combining best of both
Layout Configuration
Setting Default Layouts Per Tag
Each tag can have its own default layout configured inconfig.conf:
Switching Layouts
Switch between layouts dynamically:Master-Stack Layouts
Layouts like tile, vertical_tile, center_tile, and right_tile use a master-stack paradigm with configurable parameters.Master-Stack Configuration
Tile Layout
The classic tiling window manager layout:- Master window on the left
- Stack windows arranged vertically on the right
- Perfect for code editing with reference material
- Configurable master area size via
default_mfact - Support for multiple master windows via
default_nmaster - Automatic reflow when windows are added/removed
Center Tile Layout
Master window centered with symmetrical stack areas:- Master window in the center
- Stack windows split between left and right sides
- Ideal for focused work with peripheral references
Vertical Tile Layout
Vertical variant of tile layout:- Master window on top
- Stack windows arranged horizontally below
- Optimized for ultra-wide monitors
Right Tile Layout
Mirrored version of tile layout:- Master window on the right
- Stack windows on the left
- Useful for left-handed workflows or specific monitor arrangements
Scroller Layouts
Scroller layouts arrange windows in a scrollable row or column, perfect for reviewing multiple items sequentially.Scroller Configuration
Scroller Layout (Horizontal)
Windows arranged in a horizontal scrollable row:- Side-by-side window arrangement
- Smooth scrolling animations
- Configurable window proportions
Vertical Scroller Layout
Windows arranged in a vertical scrollable column:- Top-to-bottom arrangement
- Same proportion controls as horizontal scroller
- Great for document review workflows
Grid Layouts
Grid layouts automatically arrange windows in optimal grid patterns.Grid Layout
Automatic grid arrangement:- Dynamically calculates optimal rows and columns
- All windows equal size
- Adapts as windows are added or removed
- Monitoring dashboards
- Multiple terminal sessions
- Image galleries
- Video call layouts
Vertical Grid Layout
Grid optimized for vertical arrangements:- Prioritizes vertical splits
- Better for portrait monitors
- Same automatic sizing as standard grid
Deck Layouts
Deck layouts emphasize one primary window with others stacked behind.Deck Layout
Card-style window stacking:- One visible master window
- Other windows stacked behind (visible as borders)
- Switch focus to bring windows forward
- Minimal screen clutter
- Presentations
- Single-tasking workflows
- Limited screen space
Vertical Deck Layout
Vertical variant of deck:- Master window position adjusted for vertical layout
- Same stacking behavior
- Optimized for portrait displays
Monocle Layout
Full-screen single window layout:- One window visible at a time
- Other windows hidden
- Cycle through windows to switch view
- Maximum screen real estate
- Focused work requiring full screen
- Media consumption
- Presentations
- Gaming or full-screen applications
TGMix Layout
Hybrid layout combining tile and grid:- Flexible arrangement adapting to window count
- Combines master area with grid stack
- Automatically optimizes for different window counts
Layout Gaps
All layouts support configurable gaps between windows and screen edges.Gap Configuration
Gap Controls
Per-Tag Layout Persistence
Mango remembers the layout for each tag independently. When you switch layouts on tag 1, it doesn’t affect tag 2’s layout.
- Configure different workflows per tag
- Have coding layout on tag 1
- Browser/reference layout on tag 2
- Communication layout on tag 3
- Media/entertainment on tag 4
Layout Animations
All layout transitions support smooth animations:Dynamic Layout Switching
Mango allows switching layouts without disrupting your workflow:- Instant Switch: Press layout switch keybinding
- Smooth Animation: Windows animate to new positions
- State Preserved: Window focus and order maintained
- Per-Tag Memory: Each tag remembers its last layout
Best Practices
Match Layout to Task
Use tile for coding, grid for monitoring, monocle for focus work
Configure Per Tag
Set different default layouts for different tag purposes
Learn Hotkeys
Master layout switching and window navigation shortcuts
Adjust Gaps
Fine-tune gaps for your visual preferences and screen size
Related Configuration
- Window Commands - Window focus and movement
- Tags - Tag-based workspaces
- Animations - Layout transition animations
- Keybindings - Layout switching shortcuts
