diff options
Diffstat (limited to 'dots/aerospace/.aerospace.toml.j2')
-rw-r--r-- | dots/aerospace/.aerospace.toml.j2 | 8 |
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 %} |