diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-04 17:39:32 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-04 17:39:32 +1000 |
| commit | ff6ca32b11e3767450d3b65eb89d61e9f01a9fad (patch) | |
| tree | f67476565da97059c74b2c701131a26fd6d64f48 | |
| parent | toggle: allow configuring (diff) | |
| download | caelestia-cli-ff6ca32b11e3767450d3b65eb89d61e9f01a9fad.tar.gz caelestia-cli-ff6ca32b11e3767450d3b65eb89d61e9f01a9fad.tar.bz2 caelestia-cli-ff6ca32b11e3767450d3b65eb89d61e9f01a9fad.zip | |
readme: add config section
| -rw-r--r-- | README.md | 66 |
1 files changed, 66 insertions, 0 deletions
@@ -87,3 +87,69 @@ subcommands: wallpaper manage the wallpaper pip picture in picture utilities ``` + +## Configuring + +All configuration options are in `~/.config/caelestia/cli.json`. + +<details><summary>Example configuration</summary> + +```json +{ + "theme": { + "enableTerm": true, + "enableHypr": true, + "enableDiscord": true, + "enableSpicetify": true, + "enableFuzzel": true, + "enableBtop": true, + "enableGtk": true, + "enableQt": true + }, + "toggles": { + "communication": { + "discord": { + "enable": true, + "match": [{ "class": "discord" }], + "command": ["discord"], + "move": true + }, + "whatsapp": { + "enable": true, + "match": [{ "class": "whatsapp" }], + "move": true + } + }, + "music": { + "spotify": { + "enable": true, + "match": [{ "class": "Spotify" }, { "initialTitle": "Spotify" }, { "initialTitle": "Spotify Free" }], + "command": ["spicetify", "watch", "-s"], + "move": true + }, + "feishin": { + "enable": true, + "match": [{ "class": "feishin" }], + "move": true + } + }, + "sysmon": { + "btop": { + "enable": true, + "match": [{ "class": "btop", "title": "btop", "workspace": { "name": "special:sysmon" } }], + "command": ["foot", "-a", "btop", "-T", "btop", "fish", "-C", "exec btop"] + } + }, + "todo": { + "todoist": { + "enable": true, + "match": [{ "class": "Todoist" }], + "command": ["todoist"], + "move": true + } + } + } +} +``` + +</details> |