From f663e6f6908a9dfb05ac22e867e726c1bf6f0960 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 11 Jun 2025 00:41:05 +1000 Subject: internal: refactor for packaging Package using python-build, python-installer and hatch --- src/caelestia/data/config.json | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 src/caelestia/data/config.json (limited to 'src/caelestia/data/config.json') 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" + } + ] + } + } +} -- cgit v1.2.3-freya