Floating Layout by Default for Specific Workspace #1721
-
| Hi! I’m wondering if it’s possible to automatically set all windows in a specific workspace to use the floating layout by default. For example, suppose I have workspaces 1–4. I’d like all windows that are moved to workspace 4 to become floating by default. Additionally, if a window is moved out of workspace 4 (e.g., to workspace 3), the default tiling behavior should automatically apply again. Is there a way to achieve this behavior in Aerospace? | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
| I think you are looking to append something like the following to your  [[on-window-detected]]
    if.workspace = '1'
    run = 'layout tiling'
[[on-window-detected]]
    if.workspace = '2'
    run = 'layout tiling'
[[on-window-detected]]
    if.workspace = '3'
    run = 'layout tiling'
[[on-window-detected]]
    if.workspace = '4'
    run = 'layout floating'See also https://nikitabobko.github.io/AeroSpace/guide#dialog-heuristics. | 
Beta Was this translation helpful? Give feedback.
I think you are looking to append something like the following to your
.aerospace.tomlconfig:See also https://nikitabobko.github.io/AeroSpace/guide#dialog-heuristics.