summaryrefslogtreecommitdiff
path: root/dots/aerospace/.aerospace.toml.j2
diff options
context:
space:
mode:
authorHunt <lizhunt@amazon.com>2025-07-22 08:57:21 -0700
committerHunt <lizhunt@amazon.com>2025-07-22 08:57:21 -0700
commitf08bd31b66d56f58b16034900bb1fc98f9350531 (patch)
treeb59000283aacf7d14f99de5ba173415f208545ff /dots/aerospace/.aerospace.toml.j2
parent60e2df188d9cf2e7c1539aaf51c9235d205ac6e6 (diff)
downloaddotfiles-f08bd31b66d56f58b16034900bb1fc98f9350531.tar.gz
dotfiles-f08bd31b66d56f58b16034900bb1fc98f9350531.zip
Add discord matcher
Diffstat (limited to 'dots/aerospace/.aerospace.toml.j2')
-rw-r--r--dots/aerospace/.aerospace.toml.j28
1 files changed, 6 insertions, 2 deletions
diff --git a/dots/aerospace/.aerospace.toml.j2 b/dots/aerospace/.aerospace.toml.j2
index 86c3043..c8f57cc 100644
--- a/dots/aerospace/.aerospace.toml.j2
+++ b/dots/aerospace/.aerospace.toml.j2
@@ -122,9 +122,13 @@ automatically-unhide-macos-hidden-apps = true
shift-down = ['volume set 0', 'mode main']
{% for name, ws in window_manager.workspaces.items() %}
-{% for app_id in ws.apps %}
+{% for app in ws.apps %}
+
[[on-window-detected]]
- if.app-id = '{{ app_id }}'
run = ['move-node-to-workspace {{ name }}']
+{% for matcher, value in app.items() %}
+ if.{{ matcher }} = '{{ value }}'
+{% endfor %}
+
{% endfor %}
{% endfor %}