aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-03-18 19:36:18 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-03-18 19:36:18 +0400
commit4740682904f7353f5969449f3f63afc6c787c7c1 (patch)
treef5f87bef46698cd0b22bc23d6a9bab3e378f43dd
parentdf9d721f7462a7edaacb9de4530580a68ab6e8ab (diff)
downloadniri-4740682904f7353f5969449f3f63afc6c787c7c1.tar.gz
niri-4740682904f7353f5969449f3f63afc6c787c7c1.tar.bz2
niri-4740682904f7353f5969449f3f63afc6c787c7c1.zip
README: Move configuration up
-rw-r--r--README.md16
1 files 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 <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