From f1586b98fb00d2b6d5d2b1187c7dc2fb3aa71c55 Mon Sep 17 00:00:00 2001 From: David Ibia Date: Wed, 4 Sep 2024 23:50:43 +0100 Subject: [PATCH] style(aerospace.toml): change default-root-container-layout value from 'tiles' to 'accordion' for consistency feat(aerospace.toml): add new window detection rules for 'company.thebrowser.Browser' and 'com.postmanlabs.mac' applications --- .aerospace.toml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.aerospace.toml b/.aerospace.toml index 3f27502..57cfa1b 100644 --- a/.aerospace.toml +++ b/.aerospace.toml @@ -27,7 +27,7 @@ enable-normalization-opposite-orientation-for-nested-containers = true accordion-padding = 60 # Possible values: tiles|accordion -default-root-container-layout = 'tiles' +default-root-container-layout = 'accordion' # Possible values: horizontal|vertical|auto # 'auto' means: wide monitor (anything wider than high) gets horizontal orientation, @@ -201,10 +201,25 @@ cmd-alt-h = [] # check-further-callbacks = true run = 'layout tiling' +[[on-window-detected]] +if.app-id = 'company.thebrowser.Browser' +check-further-callbacks = true +run = 'layout floating' + +[[on-window-detected]] +if.app-id = 'company.thebrowser.Browser' +if.window-title-regex-substring = '^[^Space|Little]' +check-further-callbacks = true +run = 'layout tiling' + + [[on-window-detected]] if.app-id = "com.github.wez.wezterm" run = "move-node-to-workspace T" +[[on-window-detected]] +if.app-id = "com.postmanlabs.mac" +run = "move-node-to-workspace T" [[on-window-detected]] if.app-id = "net.whatsapp.WhatsApp" @@ -230,5 +245,3 @@ run = "move-node-to-workspace 2" if.app-id = "md.obsidian" run = "move-node-to-workspace N" - -