diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-01-03 17:23:10 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-01-03 17:23:29 +0300 |
| commit | 6998b17f9e73917bfdcd604dd2bb29b3563a34ac (patch) | |
| tree | 55d9d39c2c2afaffc129b378a8d3149a58c234ae /wiki/Getting-Started.md | |
| parent | ed9932d70dae30885fa2115520d13d439f9a0273 (diff) | |
| download | niri-6998b17f9e73917bfdcd604dd2bb29b3563a34ac.tar.gz niri-6998b17f9e73917bfdcd604dd2bb29b3563a34ac.tar.bz2 niri-6998b17f9e73917bfdcd604dd2bb29b3563a34ac.zip | |
wiki: Update default hotkeys
Diffstat (limited to 'wiki/Getting-Started.md')
| -rw-r--r-- | wiki/Getting-Started.md | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/wiki/Getting-Started.md b/wiki/Getting-Started.md index e1a5c19d..22a5b907 100644 --- a/wiki/Getting-Started.md +++ b/wiki/Getting-Started.md @@ -70,7 +70,7 @@ Also, on Intel graphics, you may need a workaround described [here](https://nixo To run niri in a VM, make sure to enable 3D acceleration. -## Default Hotkeys +## Main Default Hotkeys When running on a TTY, the Mod key is <kbd>Super</kbd>. When running in a window, the Mod key is <kbd>Alt</kbd>. @@ -92,23 +92,20 @@ The general system is: if a hotkey switches somewhere, then adding <kbd>Ctrl</kb | <kbd>Mod</kbd><kbd>Ctrl</kbd><kbd>L</kbd> or <kbd>Mod</kbd><kbd>Ctrl</kbd><kbd>→</kbd> | Move the focused column to the right | | <kbd>Mod</kbd><kbd>Ctrl</kbd><kbd>J</kbd> or <kbd>Mod</kbd><kbd>Ctrl</kbd><kbd>↓</kbd> | Move the focused window below in a column | | <kbd>Mod</kbd><kbd>Ctrl</kbd><kbd>K</kbd> or <kbd>Mod</kbd><kbd>Ctrl</kbd><kbd>↑</kbd> | Move the focused window above in a column | -| <kbd>Mod</kbd><kbd>Home</kbd> and <kbd>Mod</kbd><kbd>End</kbd> | Focus the first or the last column | -| <kbd>Mod</kbd><kbd>Ctrl</kbd><kbd>Home</kbd> and <kbd>Mod</kbd><kbd>Ctrl</kbd><kbd>End</kbd> | Move the focused column to the very start or to the very end | | <kbd>Mod</kbd><kbd>Shift</kbd><kbd>H</kbd><kbd>J</kbd><kbd>K</kbd><kbd>L</kbd> or <kbd>Mod</kbd><kbd>Shift</kbd><kbd>←</kbd><kbd>↓</kbd><kbd>↑</kbd><kbd>→</kbd> | Focus the monitor to the side | | <kbd>Mod</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>H</kbd><kbd>J</kbd><kbd>K</kbd><kbd>L</kbd> or <kbd>Mod</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>←</kbd><kbd>↓</kbd><kbd>↑</kbd><kbd>→</kbd> | Move the focused column to the monitor to the side | | <kbd>Mod</kbd><kbd>U</kbd> or <kbd>Mod</kbd><kbd>PageDown</kbd> | Switch to the workspace below | | <kbd>Mod</kbd><kbd>I</kbd> or <kbd>Mod</kbd><kbd>PageUp</kbd> | Switch to the workspace above | | <kbd>Mod</kbd><kbd>Ctrl</kbd><kbd>U</kbd> or <kbd>Mod</kbd><kbd>Ctrl</kbd><kbd>PageDown</kbd> | Move the focused column to the workspace below | | <kbd>Mod</kbd><kbd>Ctrl</kbd><kbd>I</kbd> or <kbd>Mod</kbd><kbd>Ctrl</kbd><kbd>PageUp</kbd> | Move the focused column to the workspace above | -| <kbd>Mod</kbd><kbd>1</kbd>–<kbd>9</kbd> | Switch to a workspace by index | -| <kbd>Mod</kbd><kbd>Ctrl</kbd><kbd>1</kbd>–<kbd>9</kbd> | Move the focused column to a workspace by index | | <kbd>Mod</kbd><kbd>Shift</kbd><kbd>U</kbd> or <kbd>Mod</kbd><kbd>Shift</kbd><kbd>PageDown</kbd> | Move the focused workspace down | | <kbd>Mod</kbd><kbd>Shift</kbd><kbd>I</kbd> or <kbd>Mod</kbd><kbd>Shift</kbd><kbd>PageUp</kbd> | Move the focused workspace up | | <kbd>Mod</kbd><kbd>,</kbd> | Consume the window to the right into the focused column | -| <kbd>Mod</kbd><kbd>.</kbd> | Expel the focused window into its own column | +| <kbd>Mod</kbd><kbd>.</kbd> | Expel the bottom window in the focused column into its own column | | <kbd>Mod</kbd><kbd>[</kbd> | Consume or expel the focused window to the left | | <kbd>Mod</kbd><kbd>]</kbd> | Consume or expel the focused window to the right | | <kbd>Mod</kbd><kbd>R</kbd> | Toggle between preset column widths | +| <kbd>Mod</kbd><kbd>Shift</kbd><kbd>R</kbd> | Toggle between preset column heights | | <kbd>Mod</kbd><kbd>F</kbd> | Maximize column | | <kbd>Mod</kbd><kbd>C</kbd> | Center column within view | | <kbd>Mod</kbd><kbd>-</kbd> | Decrease column width by 10% | @@ -117,16 +114,18 @@ The general system is: if a hotkey switches somewhere, then adding <kbd>Ctrl</kb | <kbd>Mod</kbd><kbd>Shift</kbd><kbd>=</kbd> | Increase window height by 10% | | <kbd>Mod</kbd><kbd>Ctrl</kbd><kbd>R</kbd> | Reset window height back to automatic | | <kbd>Mod</kbd><kbd>Shift</kbd><kbd>F</kbd> | Toggle full-screen on the focused window | +| <kbd>Mod</kbd><kbd>V</kbd> | Move the focused window between the floating and the tiling layout | +| <kbd>Mod</kbd><kbd>Shift</kbd><kbd>V</kbd> | Switch focus between the floating and the tiling layout | | <kbd>PrtSc</kbd> | Take an area screenshot. Select the area to screenshot with mouse, then press Space to save the screenshot, or Escape to cancel | | <kbd>Alt</kbd><kbd>PrtSc</kbd> | Take a screenshot of the focused window to clipboard and to `~/Pictures/Screenshots/` | | <kbd>Ctrl</kbd><kbd>PrtSc</kbd> | Take a screenshot of the focused monitor to clipboard and to `~/Pictures/Screenshots/` | -| <kbd>Mod</kbd><kbd>Shift</kbd><kbd>E</kbd> | Exit niri | +| <kbd>Mod</kbd><kbd>Shift</kbd><kbd>E</kbd> or <kbd>Ctrl</kbd><kbd>Alt</kbd><kbd>Delete</kbd> | Exit niri | ## Building First, install the dependencies for your distribution. -- Ubuntu 23.10: +- Ubuntu 24.04: ```sh sudo apt-get install -y gcc clang libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libdbus-1-dev libsystemd-dev libseat-dev libpipewire-0.3-dev libpango1.0-dev libdisplay-info-dev |
