Configuration reference
This page lists the canvas keys and a selection of common keys with their built-in defaults. The repository docs cover the rest of the Mango keys.
Canvas keys
| Key | Default | Description |
|---|---|---|
canvas_shader | none | grain, dots, plus or a .glsl path |
canvas_placement | center | center, auto-focused (auto), auto-recent, auto-compact. The shipped config uses auto-compact. |
canvas_follow_focus | 0 | Pan to the focused window |
canvas_follow_focus_delay | 0 | Delay for the above, ms |
canvas_follow_new_windows | 0 | Pan to new windows |
canvas_focus_dir_from | focused | focused or center |
canvas_zoom_step | 112 | Percent per zoom step |
canvas_snap_no_overlap | 0 | Refuse overlapping snaps |
canvas_resize_snap | move | move, edge or off |
canvas_precompute | 1 | Prepare cascade and placement in the background |
canvas_cluster_max_distance | 128 | Largest gap inside a cluster, or snap |
canvas_cluster_min_size | 3 | Fewest windows in a cluster |
canvas_cascade_scope | cluster | cluster or all |
canvas_cascade_anchor | cluster | cluster or viewport |
canvas_overview_mode | clusters | clusters or windows |
canvas_overview_compression | 1200 | Higher is gentler |
canvas_overview_spacing | 24 | Minimum space in the overview |
canvas_overview_margin | 12 | Overview margin, percent |
canvas_select_enabled | 1 | Rubber-band multi-select |
canvas_select_mode | intersect | intersect or contain |
canvas_select_clear_on_click | 1 | A click on empty canvas clears the selection |
canvas_dragspawn_snap | 1 | Snap the dragspawn box |
Preview and selection style keys are listed in the canvas reference.
Common keys
| Key | Default |
|---|---|
border_px | 4 |
inner_border_px | 0 |
border_radius | 0 |
gap_inner_horizontal / vertical | 5 |
gap_outer_horizontal / vertical | 10 |
tag_num | 9 |
sloppy_focus | 1 |
warp_cursor | 1 |
repeat_rate | 25 |
repeat_delay | 600 |
tap_to_click | 1 |
cursor_size | 24 |
enable_floating_snap | 0 |
snap_distance | 30 |
animations | 1 |
blur | 0 |
shadows | 0 |
auto_reload_config | 1 |
The shipped config.conf changes some of these, for example border_radius=6 and enable_floating_snap=1.