Skip to main content
Available since version 25.02
The gestures config section contains gesture settings. For an overview of all niri gestures, see the Gestures page.

Configuration Overview

Here’s a quick glance at the available settings along with their default values:

dnd-edge-view-scroll

object
Scroll the tiling view when moving the mouse cursor against a monitor edge during drag-and-drop (DnD). Also works on a touchscreen.
This will work for regular drag-and-drop (e.g. dragging a file from a file manager), and for window interactive move when targeting the tiling layout.

Options

number
default:"30"
Size of the area near the monitor edge that will trigger the scrolling, in logical pixels.
number
default:"100"
Delay in milliseconds before the scrolling starts. Avoids unwanted scrolling when dragging things across monitors.
number
default:"1500"
Maximum scrolling speed in logical pixels per second. The scrolling speed increases linearly as you move your mouse cursor from trigger-width to the very edge of the monitor.

Example

dnd-edge-workspace-switch

Available since version 25.05
object
Scroll the workspaces up/down when moving the mouse cursor against a monitor edge during drag-and-drop (DnD) while in the overview. Also works on a touchscreen.

Options

number
default:"50"
Size of the area near the monitor edge that will trigger the scrolling, in logical pixels.
number
default:"100"
Delay in milliseconds before the scrolling starts. Avoids unwanted scrolling when dragging things across monitors.
number
default:"1500"
Maximum scrolling speed; 1500 corresponds to one screen height per second. The scrolling speed increases linearly as you move your mouse cursor from trigger-width to the very edge of the monitor.

Example

hot-corners

Available since version 25.05
object
Configure hot corners to toggle the overview. By default, the top-left corner is active.
Put your mouse at a configured hot corner of a monitor to toggle the overview. Also works during drag-and-dropping something.

Disable Hot Corners

Set off to disable the hot corners:

Choose Specific Corners

Available since version 25.11
You can choose specific hot corners by name: top-left, top-right, bottom-left, bottom-right. If no corners are explicitly set, the top-left corner will be active by default.
flag
Enable the top-left hot corner.
flag
Enable the top-right hot corner.
flag
Enable the bottom-left hot corner.
flag
Enable the bottom-right hot corner.

Per-Output Configuration

You can also customize hot corners per-output in the output config.