DRAGONFRUIT PROJECT Wayland compositor · Linux Codeberg repository ↗
dragonfruitWayland compositor

Configuration reference

Canvas options and common settings with defaults

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.

SECTION 04 · Technical reference
Scope: Config Keys
Repository and source ↗

Canvas keys

KeyDefaultDescription
canvas_shadernonegrain, dots, plus or a .glsl path
canvas_placementcentercenter, auto-focused (auto), auto-recent, auto-compact. The shipped config uses auto-compact.
canvas_follow_focus0Pan to the focused window
canvas_follow_focus_delay0Delay for the above, ms
canvas_follow_new_windows0Pan to new windows
canvas_focus_dir_fromfocusedfocused or center
canvas_zoom_step112Percent per zoom step
canvas_snap_no_overlap0Refuse overlapping snaps
canvas_resize_snapmovemove, edge or off
canvas_precompute1Prepare cascade and placement in the background
canvas_cluster_max_distance128Largest gap inside a cluster, or snap
canvas_cluster_min_size3Fewest windows in a cluster
canvas_cascade_scopeclustercluster or all
canvas_cascade_anchorclustercluster or viewport
canvas_overview_modeclustersclusters or windows
canvas_overview_compression1200Higher is gentler
canvas_overview_spacing24Minimum space in the overview
canvas_overview_margin12Overview margin, percent
canvas_select_enabled1Rubber-band multi-select
canvas_select_modeintersectintersect or contain
canvas_select_clear_on_click1A click on empty canvas clears the selection
canvas_dragspawn_snap1Snap the dragspawn box

Preview and selection style keys are listed in the canvas reference.

Common keys

KeyDefault
border_px4
inner_border_px0
border_radius0
gap_inner_horizontal / vertical5
gap_outer_horizontal / vertical10
tag_num9
sloppy_focus1
warp_cursor1
repeat_rate25
repeat_delay600
tap_to_click1
cursor_size24
enable_floating_snap0
snap_distance30
animations1
blur0
shadows0
auto_reload_config1

The shipped config.conf changes some of these, for example border_radius=6 and enable_floating_snap=1.

← Previous

Commands

Next →

Glossary