2024-05-11 10:09:49 +04:00
|
|
|
### Overview
|
|
|
|
|
|
|
|
|
|
There are several gestures in niri.
|
|
|
|
|
|
2025-02-16 09:41:50 +03:00
|
|
|
Also see the [gestures configuration](./Configuration:-Gestures.md) wiki page.
|
|
|
|
|
|
2024-05-11 10:09:49 +04:00
|
|
|
### Mouse
|
|
|
|
|
|
2024-10-26 10:49:33 +03:00
|
|
|
#### Interactive Move
|
|
|
|
|
|
|
|
|
|
<sup>Since: 0.1.10</sup>
|
|
|
|
|
|
|
|
|
|
You can move windows by holding <kbd>Mod</kbd> and the left mouse button.
|
|
|
|
|
|
2024-11-03 22:52:49 +03:00
|
|
|
You can customize the look of the window insertion preview in the `insert-hint` [layout config](./Configuration:-Layout.md) section.
|
|
|
|
|
|
2025-01-10 15:38:03 +03:00
|
|
|
<sup>Since: 25.01</sup> Right click while moving to toggle between floating and tiling layout to put the window into.
|
2024-12-15 16:44:05 +03:00
|
|
|
|
2024-05-11 10:09:49 +04:00
|
|
|
#### Interactive Resize
|
|
|
|
|
|
2024-05-18 08:59:11 +04:00
|
|
|
<sup>Since: 0.1.6</sup>
|
|
|
|
|
|
2024-05-11 10:09:49 +04:00
|
|
|
You can resize windows by holding <kbd>Mod</kbd> and the right mouse button.
|
|
|
|
|
|
|
|
|
|
#### Reset Window Height
|
|
|
|
|
|
2024-05-11 12:55:18 +04:00
|
|
|
<sup>Since: 0.1.6</sup>
|
|
|
|
|
|
2024-12-29 10:52:13 +03:00
|
|
|
If you double-click on a top or bottom tiled window resize edge, the window height will reset to automatic.
|
2024-05-11 10:09:49 +04:00
|
|
|
|
|
|
|
|
This works with both window-initiated resizes (when using client-side decorations), and niri-initiated <kbd>Mod</kbd> + right click resizes.
|
|
|
|
|
|
|
|
|
|
#### Toggle Full Width
|
|
|
|
|
|
2024-05-11 12:55:18 +04:00
|
|
|
<sup>Since: 0.1.6</sup>
|
|
|
|
|
|
2024-12-29 10:52:13 +03:00
|
|
|
If you double-click on a left or right tiled window resize edge, the column will expand to the full workspace width.
|
2024-05-11 10:09:49 +04:00
|
|
|
|
|
|
|
|
This works with both window-initiated resizes (when using client-side decorations), and niri-initiated <kbd>Mod</kbd> + right click resizes.
|
|
|
|
|
|
2024-05-11 14:01:48 +04:00
|
|
|
#### Horizontal View Movement
|
|
|
|
|
|
|
|
|
|
<sup>Since: 0.1.6</sup>
|
|
|
|
|
|
2024-06-19 22:22:34 +03:00
|
|
|
Move the view horizontally by holding <kbd>Mod</kbd> and the middle mouse button (or the wheel) and dragging the mouse horizontally.
|
|
|
|
|
|
|
|
|
|
#### Workspace Switch
|
|
|
|
|
|
|
|
|
|
<sup>Since: 0.1.7</sup>
|
|
|
|
|
|
|
|
|
|
Switch workspaces by holding <kbd>Mod</kbd> and the middle mouse button (or the wheel) and dragging the mouse vertically.
|
2024-05-11 14:01:48 +04:00
|
|
|
|
2024-05-11 10:09:49 +04:00
|
|
|
### Touchpad
|
|
|
|
|
|
|
|
|
|
#### Workspace Switch
|
|
|
|
|
|
|
|
|
|
Switch workspaces with three-finger vertical swipes.
|
|
|
|
|
|
|
|
|
|
#### Horizontal View Movement
|
|
|
|
|
|
|
|
|
|
Move the view horizontally with three-finger horizontal swipes.
|
2025-02-16 09:41:50 +03:00
|
|
|
|
|
|
|
|
### All Pointing Devices
|
|
|
|
|
|
|
|
|
|
#### Drag-and-Drop Edge View Scroll
|
|
|
|
|
|
2025-02-21 09:03:36 +03:00
|
|
|
<sup>Since: 25.02</sup>
|
2025-02-16 09:41:50 +03:00
|
|
|
|
|
|
|
|
Scroll the tiling view when moving the mouse cursor against a monitor edge during drag-and-drop (DnD).
|
|
|
|
|
Also works on a touchscreen.
|