From 4740682904f7353f5969449f3f63afc6c787c7c1 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 18 Mar 2024 19:36:18 +0400 Subject: README: Move configuration up --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a0854899..9aee2257 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,14 @@ For example, `niri msg --json outputs`. For programmatic access, check the [niri-ipc sub-crate](./niri-ipc/) which defines the types. The communication over the IPC socket happens in JSON. +## Configuration + +Niri will load configuration from `$XDG_CONFIG_HOME/.config/niri/config.kdl` or `~/.config/niri/config.kdl`. +If this fails, it will load [the default configuration file](resources/default-config.kdl). +Please use the default configuration file as the starting point for your custom configuration. + +Niri will live-reload most of the configuration settings, like key binds or gaps or output modes, as you change the config file. + ## Default Hotkeys When running on a TTY, the Mod key is Super. @@ -195,14 +203,6 @@ The general system is: if a hotkey switches somewhere, then adding CtrlCtrlPrtSc | Take a screenshot of the focused monitor to clipboard and to `~/Pictures/Screenshots/` | | ModShiftE | Exit niri | -## Configuration - -Niri will load configuration from `$XDG_CONFIG_HOME/.config/niri/config.kdl` or `~/.config/niri/config.kdl`. -If this fails, it will load [the default configuration file](resources/default-config.kdl). -Please use the default configuration file as the starting point for your custom configuration. - -Niri will live-reload most of the configuration settings, like key binds or gaps or output modes, as you change the config file. - ## Contact We have a Matrix chat, feel free to join and ask a question: https://matrix.to/#/#niri:matrix.org -- cgit