From f08bd31b66d56f58b16034900bb1fc98f9350531 Mon Sep 17 00:00:00 2001 From: Hunt Date: Tue, 22 Jul 2025 08:57:21 -0700 Subject: Add discord matcher --- dots/aerospace/.aerospace.toml.j2 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'dots') 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 %} -- cgit v1.2.3-70-g09d2