forge
Explore
Log in

Don't you dare go Hollow

README: Move configuration up

Browse files at this commit

4740682904f7353f5969449f3f63afc6c787c7c1Ivan MolodetskikhParent: df9d721
README.mdmodified+8 -8
@@ -146,6 +146,14 @@ For example, `niri msg --json outputs`.
146146 For programmatic access, check the [niri-ipc sub-crate](./niri-ipc/) which defines the types.
147147 The communication over the IPC socket happens in JSON.
148148
149+## Configuration
150+
151+Niri will load configuration from `$XDG_CONFIG_HOME/.config/niri/config.kdl` or `~/.config/niri/config.kdl`.
152+If this fails, it will load [the default configuration file](resources/default-config.kdl).
153+Please use the default configuration file as the starting point for your custom configuration.
154+
155+Niri will live-reload most of the configuration settings, like key binds or gaps or output modes, as you change the config file.
156+
149157 ## Default Hotkeys
150158
151159 When running on a TTY, the Mod key is <kbd>Super</kbd>.
@@ -195,14 +203,6 @@ The general system is: if a hotkey switches somewhere, then adding <kbd>Ctrl</kb
195203 | <kbd>Ctrl</kbd><kbd>PrtSc</kbd> | Take a screenshot of the focused monitor to clipboard and to `~/Pictures/Screenshots/` |
196204 | <kbd>Mod</kbd><kbd>Shift</kbd><kbd>E</kbd> | Exit niri |
197205
198-## Configuration
199-
200-Niri will load configuration from `$XDG_CONFIG_HOME/.config/niri/config.kdl` or `~/.config/niri/config.kdl`.
201-If this fails, it will load [the default configuration file](resources/default-config.kdl).
202-Please use the default configuration file as the starting point for your custom configuration.
203-
204-Niri will live-reload most of the configuration settings, like key binds or gaps or output modes, as you change the config file.
205-
206206 ## Contact
207207
208208 We have a Matrix chat, feel free to join and ask a question: https://matrix.to/#/#niri:matrix.org