aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-05-11 10:09:49 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-05-11 10:09:49 +0400
commitf091e64b129b09a73d04d7fc757f9930709b6bf8 (patch)
tree1c2bdbd04f42cb8ff4b5837ec5c0ab6f3291304d
parente454cd6282eb52709a397e72abec01ed65f6c4c1 (diff)
downloadniri-f091e64b129b09a73d04d7fc757f9930709b6bf8.tar.gz
niri-f091e64b129b09a73d04d7fc757f9930709b6bf8.tar.bz2
niri-f091e64b129b09a73d04d7fc757f9930709b6bf8.zip
wiki: Add gestures page
-rw-r--r--wiki/Gestures.md31
-rw-r--r--wiki/_Sidebar.md1
2 files changed, 32 insertions, 0 deletions
diff --git a/wiki/Gestures.md b/wiki/Gestures.md
new file mode 100644
index 00000000..03d9f11c
--- /dev/null
+++ b/wiki/Gestures.md
@@ -0,0 +1,31 @@
+### Overview
+
+There are several gestures in niri.
+
+### Mouse
+
+#### Interactive Resize
+
+You can resize windows by holding <kbd>Mod</kbd> and the right mouse button.
+
+#### Reset Window Height
+
+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 <kbd>Mod</kbd> + right click resizes.
+
+#### Toggle Full Width
+
+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 <kbd>Mod</kbd> + right click resizes.
+
+### Touchpad
+
+#### Workspace Switch
+
+Switch workspaces with three-finger vertical swipes.
+
+#### Horizontal View Movement
+
+Move the view horizontally with three-finger horizontal swipes.
diff --git a/wiki/_Sidebar.md b/wiki/_Sidebar.md
index fd5f9639..846f78a1 100644
--- a/wiki/_Sidebar.md
+++ b/wiki/_Sidebar.md
@@ -6,6 +6,7 @@
* [`niri msg`](./IPC.md)
* [VSCode, Chromium, WezTerm](./Application-Issues.md)
* [Xwayland](./Xwayland.md)
+* [Gestures](./Gestures.md)
* [FAQ](./FAQ.md)
## Configuration