Skip to main content
This page documents all configuration options available in Mango Wayland Compositor. Options are set in your configuration file (typically config.conf).

Window Effects

Blur

OptionTypeDefaultDescription
blurinteger0Enable window blur effect (0=disabled, 1=enabled)
blur_layerinteger0Enable blur for layer surfaces (0=disabled, 1=enabled)
blur_optimizedinteger1Use optimized blur algorithm (0=disabled, 1=enabled)
blur_params_num_passesinteger2Number of blur passes
blur_params_radiusinteger5Blur radius in pixels
blur_params_noisefloat0.02Noise amount (0.0-1.0)
blur_params_brightnessfloat0.9Brightness adjustment (0.0-2.0)
blur_params_contrastfloat0.9Contrast adjustment (0.0-2.0)
blur_params_saturationfloat1.2Saturation adjustment (0.0-2.0)

Shadows

OptionTypeDefaultDescription
shadowsinteger0Enable window shadows (0=disabled, 1=enabled)
layer_shadowsinteger0Enable shadows for layer surfaces (0=disabled, 1=enabled)
shadow_only_floatinginteger1Only show shadows on floating windows
shadows_sizeinteger10Shadow size in pixels
shadows_blurinteger15Shadow blur amount
shadows_position_xinteger0Shadow horizontal offset
shadows_position_yinteger0Shadow vertical offset
shadowscolorhex color0x000000ffShadow color (RGBA format)

Window Appearance

OptionTypeDefaultDescription
border_radiusinteger6Corner radius in pixels
no_radius_when_singleinteger0Disable rounded corners when single window
focused_opacityfloat1.0Opacity of focused windows (0.0-1.0)
unfocused_opacityfloat1.0Opacity of unfocused windows (0.0-1.0)
no_border_when_singleinteger0Hide borders when single window visible

Scroller Layout

OptionTypeDefaultDescription
scroller_structsinteger20Maximum number of scroller structures
scroller_default_proportionfloat0.8Default window proportion in scroller layout
scroller_focus_centerinteger0Keep focused window centered
scroller_prefer_centerinteger0Prefer center position for new windows
edge_scroller_pointer_focusinteger1Focus window at pointer edge
scroller_default_proportion_singlefloat1.0Proportion when single window
scroller_proportion_presetfloat list0.5,0.8,1.0Preset proportions to cycle through

Master-Stack Layout

OptionTypeDefaultDescription
new_is_masterinteger1New windows become master (0=disabled, 1=enabled)
default_mfactfloat0.55Master area factor (0.0-1.0)
default_nmasterinteger1Default number of master windows
smartgapsinteger0Disable gaps when single window

Overview

OptionTypeDefaultDescription
hotarea_sizeinteger10Size of hot corner area in pixels
enable_hotareainteger1Enable hot corners (0=disabled, 1=enabled)
ov_tab_modeinteger0Overview tab mode
overviewgappiinteger5Inner gaps in overview mode
overviewgappointeger30Outer gaps in overview mode

Window Behavior

OptionTypeDefaultDescription
focus_on_activateinteger1Focus window on activation request
idleinhibit_ignore_visibleinteger0Ignore idle inhibit when not visible
sloppyfocusinteger1Focus follows mouse
warpcursorinteger1Warp cursor to focused window
focus_cross_monitorinteger0Allow focus to cross monitors
focus_cross_taginteger0Allow focus to cross tags
enable_floating_snapinteger0Enable snapping for floating windows
snap_distanceinteger30Snap distance in pixels
drag_tile_to_tileinteger1Allow dragging tiled windows to tile
axis_bind_apply_timeoutinteger100Timeout for axis binding in milliseconds

Input Devices

Keyboard

OptionTypeDefaultDescription
repeat_rateinteger25Key repeat rate (characters per second)
repeat_delayinteger600Key repeat delay in milliseconds
numlockoninteger0Enable NumLock on startup
xkb_rules_layoutstringusKeyboard layout (XKB format)

Trackpad

Trackpad settings require re-login to take effect.
OptionTypeDefaultDescription
disable_trackpadinteger0Disable trackpad completely
tap_to_clickinteger1Enable tap to click
tap_and_draginteger1Enable tap and drag
drag_lockinteger1Enable drag lock
trackpad_natural_scrollinginteger0Enable natural scrolling
disable_while_typinginteger1Disable trackpad while typing
left_handedinteger0Left-handed mode
middle_button_emulationinteger0Emulate middle button
swipe_min_thresholdinteger1Minimum swipe threshold

Mouse

Mouse settings require re-login to take effect.
OptionTypeDefaultDescription
mouse_natural_scrollinginteger0Enable natural scrolling for mouse
cursor_sizeinteger24Cursor size in pixels

Appearance

Gaps

OptionTypeDefaultDescription
gappihinteger5Inner horizontal gap
gappivinteger5Inner vertical gap
gappohinteger10Outer horizontal gap
gappovinteger10Outer vertical gap

Borders

OptionTypeDefaultDescription
borderpxinteger4Border width in pixels
bordercolorhex color0x444444ffDefault border color (RGBA format)
focuscolorhex color0xc9b890ffFocused window border color
maximizescreencolorhex color0x89aa61ffMaximized window border color
urgentcolorhex color0xad401fffUrgent window border color
scratchpadcolorhex color0x516c93ffScratchpad window border color
globalcolorhex color0xb153a7ffGlobal window border color
overlaycolorhex color0x14a57cffOverlay window border color

Colors

OptionTypeDefaultDescription
rootcolorhex color0x201b14ffRoot background color (RGBA format)

Scratchpad

OptionTypeDefaultDescription
scratchpad_width_ratiofloat0.8Scratchpad width as ratio of screen (0.0-1.0)
scratchpad_height_ratiofloat0.9Scratchpad height as ratio of screen (0.0-1.0)

Rules

Tag Rules

Define layout for each tag/workspace.
tagrule=id:1,layout_name:tile
Supported layouts:
  • tile - Tiled layout
  • scroller - Scroller layout
  • grid - Grid layout
  • deck - Deck layout
  • monocle - Monocle (fullscreen) layout
  • center_tile - Centered tile layout
  • vertical_tile - Vertical tile layout
  • vertical_scroller - Vertical scroller layout

Layer Rules

Customize behavior for specific layer surfaces.
layerrule=animation_type_open:zoom,layer_name:rofi
layerrule=animation_type_close:zoom,layer_name:rofi
Available properties:
  • animation_type_open - Opening animation type (zoom, slide)
  • animation_type_close - Closing animation type (zoom, slide)
  • layer_name - Name of the layer surface

Key Bindings

See the Keybindings page for information on configuring keyboard shortcuts.

Mouse Bindings

See the Keybindings page for information on configuring mouse bindings.

Axis Bindings

See the Keybindings page for information on configuring scroll wheel bindings.

Color Format

Colors are specified in RGBA hexadecimal format: 0xRRGGBBAA
  • RR - Red component (00-FF)
  • GG - Green component (00-FF)
  • BB - Blue component (00-FF)
  • AA - Alpha/opacity (00=transparent, FF=opaque)
Example: 0xc9b890ff = RGB(201, 184, 144) with full opacity

Build docs developers (and LLMs) love