mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-01 12:44:10 +01:00
feat(cli): quickstart, autostart and the config commands
komorebic quickstart writes an example komorebi.json and applications.json into the config home, asking before it writes over a file, so a new user has a configuration to start from. komorebic enable-autostart writes the XDG autostart entry that has Plasma start komorebi at login, with the komorebi.json it is given if any, and disable-autostart takes it away; the NixOS module does the same job for a machine that has it. komorebic replace-configuration makes the running daemon start over from another komorebi.json: it pauses its window manager and brings back the windows it hid, the back of a stack, so that none is out of sight for the new one to miss, then makes the window manager again from the file, with the monitors and the windows the backend has, and watches the new file in place of the old one. A file that does not read is logged and the daemon carries on as it was.
This commit is contained in:
1 parent
3a3a0f8f24
commit
c6874ff5db
20 files changed
+649
-15
No files matched your search
@@ -63,8 +63,9 @@ different layout. This page has the file as it is:
|
||||
}
|
||||
```
|
||||
|
||||
Put it where the daemon looks for it, `~/.config/komorebi/komorebi.json`, or give it to the daemon
|
||||
with `komorebic start --config`. [Configuration](usage/configuration.md) explains every key and
|
||||
`komorebic quickstart` writes it, and the `applications.json` below, where the daemon looks for
|
||||
them ([Quickstart and autostart](usage/quickstart-and-autostart.md)). Or put it there yourself,
|
||||
`~/.config/komorebi/komorebi.json`, or give it to the daemon with `komorebic start --config`. [Configuration](usage/configuration.md) explains every key and
|
||||
where the daemon looks. The settings of a monitor with more than one entry in `monitors`, and of
|
||||
each workspace, are there too.
|
||||
|
||||
@@ -72,8 +73,9 @@ each workspace, are there too.
|
||||
|
||||
`app_specific_configuration_path` names a file of rules for the applications that need them, which
|
||||
the repository has a start of in
|
||||
[`komorebic/applications.json`](../komorebic/applications.json). Put a copy where the example
|
||||
says, `~/.config/komorebi/applications.json`; a path with no file behind it is skipped.
|
||||
[`komorebic/applications.json`](../komorebic/applications.json). `komorebic quickstart` puts a copy
|
||||
where the example says, `~/.config/komorebi/applications.json`; a path with no file behind it is
|
||||
skipped.
|
||||
[Application specific configuration](usage/application-specific-configuration.md) explains the
|
||||
format.
|
||||
|
||||
|
||||
Reference in new issue
Block a user