Files
niri/wiki/Gestures.md
T

60 lines
1.7 KiB
Markdown
Raw Normal View History

2024-05-11 10:09:49 +04:00
### Overview
There are several gestures in niri.
### 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.
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-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>
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>
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>
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.