From 6998b17f9e73917bfdcd604dd2bb29b3563a34ac Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 3 Jan 2025 17:23:10 +0300 Subject: wiki: Update default hotkeys --- wiki/Getting-Started.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'wiki/Getting-Started.md') 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 Super. When running in a window, the Mod key is Alt. @@ -92,23 +92,20 @@ The general system is: if a hotkey switches somewhere, then adding CtrlModCtrlL or ModCtrl | Move the focused column to the right | | ModCtrlJ or ModCtrl | Move the focused window below in a column | | ModCtrlK or ModCtrl | Move the focused window above in a column | -| ModHome and ModEnd | Focus the first or the last column | -| ModCtrlHome and ModCtrlEnd | Move the focused column to the very start or to the very end | | ModShiftHJKL or ModShift | Focus the monitor to the side | | ModCtrlShiftHJKL or ModCtrlShift | Move the focused column to the monitor to the side | | ModU or ModPageDown | Switch to the workspace below | | ModI or ModPageUp | Switch to the workspace above | | ModCtrlU or ModCtrlPageDown | Move the focused column to the workspace below | | ModCtrlI or ModCtrlPageUp | Move the focused column to the workspace above | -| Mod19 | Switch to a workspace by index | -| ModCtrl19 | Move the focused column to a workspace by index | | ModShiftU or ModShiftPageDown | Move the focused workspace down | | ModShiftI or ModShiftPageUp | Move the focused workspace up | | Mod, | Consume the window to the right into the focused column | -| Mod. | Expel the focused window into its own column | +| Mod. | Expel the bottom window in the focused column into its own column | | Mod[ | Consume or expel the focused window to the left | | Mod] | Consume or expel the focused window to the right | | ModR | Toggle between preset column widths | +| ModShiftR | Toggle between preset column heights | | ModF | Maximize column | | ModC | Center column within view | | Mod- | Decrease column width by 10% | @@ -117,16 +114,18 @@ The general system is: if a hotkey switches somewhere, then adding CtrlModShift= | Increase window height by 10% | | ModCtrlR | Reset window height back to automatic | | ModShiftF | Toggle full-screen on the focused window | +| ModV | Move the focused window between the floating and the tiling layout | +| ModShiftV | Switch focus between the floating and the tiling layout | | PrtSc | Take an area screenshot. Select the area to screenshot with mouse, then press Space to save the screenshot, or Escape to cancel | | AltPrtSc | Take a screenshot of the focused window to clipboard and to `~/Pictures/Screenshots/` | | CtrlPrtSc | Take a screenshot of the focused monitor to clipboard and to `~/Pictures/Screenshots/` | -| ModShiftE | Exit niri | +| ModShiftE or CtrlAltDelete | 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 -- cgit