Skip to content

Gestures

github-actions[bot] edited this page Nov 3, 2024 · 7 revisions

Overview

There are several gestures in niri.

Mouse

Interactive Move

Since: 0.1.10

You can move windows by holding Mod and the left mouse button.

You can customize the look of the window insertion preview in the insert-hint layout config section.

Interactive Resize

Since: 0.1.6

You can resize windows by holding Mod and the right mouse button.

Reset Window Height

Since: 0.1.6

If you double-click on a top or bottom window resize edge, the window height will reset to automatic.

This works with both window-initiated resizes (when using client-side decorations), and niri-initiated Mod + right click resizes.

Toggle Full Width

Since: 0.1.6

If you double-click on a left or right window resize edge, the column will expand to the full workspace width.

This works with both window-initiated resizes (when using client-side decorations), and niri-initiated Mod + right click resizes.

Horizontal View Movement

Since: 0.1.6

Move the view horizontally by holding Mod and the middle mouse button (or the wheel) and dragging the mouse horizontally.

Workspace Switch

Since: 0.1.7

Switch workspaces by holding Mod and the middle mouse button (or the wheel) and dragging the mouse vertically.

Touchpad

Workspace Switch

Switch workspaces with three-finger vertical swipes.

Horizontal View Movement

Move the view horizontally with three-finger horizontal swipes.