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.
|
|
|
|
|
|
2025-03-15 16:42:05 +01:00
|
|
|
You can customize the look of the window insertion preview in the [`insert-hint` layout config](./Configuration:-Layout.md#insert-hint).
|
2024-11-03 22:52:49 +03:00
|
|
|
|
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
|
|
|
|
2025-08-25 14:23:05 +03:00
|
|
|
#### Open and Close the Overview
|
|
|
|
|
|
|
|
|
|
<sup>Since: 25.05</sup>
|
|
|
|
|
|
|
|
|
|
Open and close the overview with a four-finger vertical swipe.
|
|
|
|
|
|
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.
|
2025-04-25 10:36:59 +03:00
|
|
|
|
|
|
|
|
#### Drag-and-Drop Edge Workspace Switch
|
|
|
|
|
|
2025-05-17 13:48:29 +03:00
|
|
|
<sup>Since: 25.05</sup>
|
2025-04-25 10:36:59 +03:00
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
#### Drag-and-Drop Hold to Activate
|
|
|
|
|
|
2025-05-17 13:48:29 +03:00
|
|
|
<sup>Since: 25.05</sup>
|
2025-04-25 10:36:59 +03:00
|
|
|
|
|
|
|
|
While drag-and-dropping, hold your mouse over a window to activate it.
|
|
|
|
|
This will bring a floating window to the top for example.
|
|
|
|
|
|
|
|
|
|
In the overview, you can also hold the mouse over a workspace to switch to it.
|
|
|
|
|
|
|
|
|
|
#### Hot Corner to Toggle the Overview
|
|
|
|
|
|
2025-05-17 13:48:29 +03:00
|
|
|
<sup>Since: 25.05</sup>
|
2025-04-25 10:36:59 +03:00
|
|
|
|
|
|
|
|
Put your mouse at the very top-left corner of a monitor to toggle the overview.
|
|
|
|
|
Also works during drag-and-dropping something.
|