summaryrefslogtreecommitdiff
path: root/src/caelestia/data/config.json
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-11 00:41:05 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-11 00:41:05 +1000
commitf663e6f6908a9dfb05ac22e867e726c1bf6f0960 (patch)
tree4e9a8eaf275a2e145c6384964cdc5f351b49b924 /src/caelestia/data/config.json
parentfeat: impl workspace-action command (diff)
downloadcaelestia-cli-f663e6f6908a9dfb05ac22e867e726c1bf6f0960.tar.gz
caelestia-cli-f663e6f6908a9dfb05ac22e867e726c1bf6f0960.tar.bz2
caelestia-cli-f663e6f6908a9dfb05ac22e867e726c1bf6f0960.zip
internal: refactor for packaging
Package using python-build, python-installer and hatch
Diffstat (limited to 'src/caelestia/data/config.json')
-rw-r--r--src/caelestia/data/config.json51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/caelestia/data/config.json b/src/caelestia/data/config.json
new file mode 100644
index 0000000..47f61e5
--- /dev/null
+++ b/src/caelestia/data/config.json
@@ -0,0 +1,51 @@
+{
+ "toggles": {
+ "communication": {
+ "apps": [
+ {
+ "selector": ".class == \"discord\"",
+ "spawn": "discord",
+ "action": "spawn move"
+ },
+ {
+ "selector": ".class == \"whatsapp\"",
+ "spawn": "firefox --name whatsapp -P whatsapp 'https://web.whatsapp.com'",
+ "action": "move",
+ "extraCond": "grep -q 'Name=whatsapp' ~/.mozilla/firefox/profiles.ini"
+ }
+ ]
+ },
+ "music": {
+ "apps": [
+ {
+ "selector": ".class == \"Spotify\" or .initialTitle == \"Spotify\" or .initialTitle == \"Spotify Free\"",
+ "spawn": "spicetify watch -s",
+ "action": "spawn move"
+ },
+ {
+ "selector": ".class == \"feishin\"",
+ "spawn": "feishin",
+ "action": "move"
+ }
+ ]
+ },
+ "sysmon": {
+ "apps": [
+ {
+ "selector": ".class == \"btop\" and .title == \"btop\" and .workspace.name == \"special:sysmon\"",
+ "spawn": "foot -a 'btop' -T 'btop' -- btop",
+ "action": "spawn"
+ }
+ ]
+ },
+ "todo": {
+ "apps": [
+ {
+ "selector": ".class == \"Todoist\"",
+ "spawn": "todoist",
+ "action": "spawn move"
+ }
+ ]
+ }
+ }
+}