summaryrefslogtreecommitdiff
path: root/src/caelestia/data/config.json
diff options
context:
space:
mode:
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"
+ }
+ ]
+ }
+ }
+}