mangowmmangowm

Miscellaneous

Advanced settings for XWayland, focus behavior, and system integration.

System & Hardware

SettingDefaultDescription
xwayland_persistence1Keep XWayland running even when no X11 apps are open (reduces startup lag).
xwayland_ignore_scale0DIsable global scale for xwayland.
sync_obj_enable1Enable drm_syncobj timeline support (helps with gaming stutter/lag). Requires restart.
allow_lock_transparent0Allow the lock screen to be transparent.
allow_shortcuts_inhibit1Allow shortcuts to be inhibited by clients.
auto_reload_config1Watch the main config file and every source/source_optional file, then reload immediately after any of them changes.

Focus & Input

SettingDefaultDescription
focus_on_activate1Automatically focus windows when they request activation.
sloppy_focus1Focus follows the mouse cursor.
warp_cursor1Warp the cursor to the center of the window when focus changes via keyboard.
cursor_hide_timeout0Hide the cursor after N seconds of inactivity (0 to disable).
cursor_hide_on_keypress0Hide the cursor on keypress.
drag_tile_to_tile0Allow dragging a tiled window onto another to swap their positions.
drag_tile_small1Allow dragging a tiled window temporarily to small size.
drag_corner3Corner for drag-to-tile detection (0: none, 1–3: corners, 4: auto-detect).
drag_warp_cursor1Warp cursor when dragging windows to tile.
axis_bind_apply_timeout100Timeout (ms) for detecting consecutive scroll events for axis bindings.
disable_middle_paste0Disable middle-click paste by turning off the whole primary selection. Only affects Wayland apps; X11 apps are unaffected. Restart apps after re-enabling.

Multi-Monitor & Tags

SettingDefaultDescription
focus_cross_monitor0Allow directional focus to cross monitor boundaries.
focus_direction_only_zone_overlap1When enabled, directional focus only selects windows that overlap the current window on the perpendicular axis (y for left/right, x for up/down); returns nothing if none qualify.
exchange_cross_monitor0Allow the exchange_client and move_client dispatchers to reach across monitor boundaries. With exchange_client the two windows swap monitors; with move_client the window moves onto the monitor holding the neighbor (or lying in the move direction when there is none) and is inserted in front of or behind that neighbor instead of swapping with it. While disabled, both dispatchers keep the windows on the current monitor.
focus_cross_tag0Allow directional focus to cross into other tags.
view_current_to_back0Toggling the current tag switches back to the previously viewed tag.
scratchpad_cross_monitor0Share the scratchpad pool across all monitors.
single_scratchpad1Only allow one scratchpad (named or standard) to be visible at a time.
tag_num9Number of tags/workspaces (1–31). On config reload, clients on tags beyond this count are moved to the last tag.
tag_gather0When 1, occupied tags are compacted to consecutive tags starting at 1, eliminating gaps. For example, with windows on tags 1, 3 and 9, they move to 1, 2 and 3, and the current view follows.

Window Behavior

SettingDefaultDescription
enable_floating_snap0Snap floating windows to edges or other windows.
snap_distance30Max distance (pixels) to trigger floating snap.
float_full_to_top0Let fullscreen, floating and layer-shell top windows share one layer so they can cover each other; which one ends up on top depends on which was opened or raised last. When 0, they are split into separate layers instead: floating windows below, fullscreen windows above layer-shell top windows.
no_border_when_single0Remove window borders when only one window is visible on the tag.
smart_gaps0Disable gaps when only one window is present.
idle_inhibit_ignore_visible0Allow invisible clients (e.g., background audio players) to inhibit idle.
idle_inhibit_when_fullscreen0Keep idle inhibited while a fullscreen window is focused.
tag_carousel0Enable tag carousel (cycling through tags).
enable_border_resize1Change the cursor when hovering a window border and start an interactive resize with a plain left click, like sway. Floating windows expose every edge; tiled windows only expose edges shared with a neighbor.
border_resize_size10Thickness in pixels of the resize grab strip measured inward from a window's edge (0 uses the window border width). Set it larger for an easier-to-hit grip, which also works for borderless windows.

Config errors

When the config file contains errors, mango shows a mangonag bar at the top of the focused output.

  • Close dismisses the bar.
  • Edit opens the first reported error in your editor at the reported line.

The editor is taken from $EDITOR, then $VISUAL, then vi; terminal editors open in $TERMINAL.

On this page