Configuration
Knave keeps desktop settings in one TOML file. You can change only the settings you need; omitted settings use their defaults.
Find and edit your configuration
Section titled “Find and edit your configuration”- Run
knave config pathto find your configuration file. Normally it is~/.config/knave/config.toml.KNAVE_CONFIGoverrides the path; otherwiseXDG_CONFIG_HOMEchanges the base directory. - If the file does not exist, run
knave config initto create it. Do not run this to replace an existing configuration. - Open the file in a text editor. Add the settings you want, or edit their existing values. TOML table headers such as
[compositor]must not be repeated: add keys to the existing table instead. - Save the file and run
knave config check. Fix any errors it reports before applying your changes. - For compositor settings and wallpaper, run
knavectl reloadin the running session. Session startup, shell process and notification settings require a session restart. Individual guides explain exceptions.
For example, to change the master window’s share of the workspace, add this to the existing [compositor] table:
[compositor]master_percent = 60Then run knave config check and knavectl reload. A manually resized workspace keeps its temporary override until reset or restart.
Choose what to configure
Section titled “Choose what to configure”- Windows and workspaces — layout, scaling and window rules.
- Input and shortcuts — mouse, touchpad, gestures and key bindings.
- Appearance — wallpaper, themes, gaps and window effects.
- Session and services — startup, notifications, portal and quick settings.
knave config print prints the saved file. It does not expand omitted values into a complete list of defaults. Validation checks the typed configuration; a matching compositor and shell are also needed to apply its settings.