diff options
| -rw-r--r-- | README.md | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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 <kbd>Super</kbd>. @@ -195,14 +203,6 @@ The general system is: if a hotkey switches somewhere, then adding <kbd>Ctrl</kb | <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 | -## 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 |
