Default all windows to be floating unless explicitly configured to be tiled #1274
-
Thank you for the great work on Aerospace! I am currently considering switching from Amethyst to Aerospace, but there is one key feature that is holding me back. I am unsure whether Aerospace already supports this and I've just missed it in the documentation, or if it is currently unsupported. In Amethyst, I can configure it to float all applications by default unless they are explicitly listed to be tiled which can be done using the following setting in floating-is-blacklist: false
floating:
- "com.apple.Maps"
- "com.apple.Music"
- "com.apple.Notes"
- "com.apple.Photos"
... This allows for a workflow where everything floats by default, and I opt in only the apps I want to tile. In Aerospace, I understand that I can configure certain apps to float using: [[on-window-detected]]
if.app-id = "com.apple.Maps"
run = ["layout floating"] Is it possible to mimic Amethyst’s |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Yes, it's possible: [[on-window-detected]]
check-further-callbacks = true
run = 'layout floating'
[[on-window-detected]]
if.app-id = "com.apple.Maps"
run = 'layout tiling' |
Beta Was this translation helpful? Give feedback.
-
Make all windows float by default [[on-window-detected]] |
Beta Was this translation helpful? Give feedback.
-
Thank you! This seems to solve the problem perfectly. |
Beta Was this translation helpful? Give feedback.
-
One unfortunate known problem with this approach is that all the windows of mentioned apps become tiled, and AeroSpace dialog detection heuristics are not applied. It's because you told AeroSpace to tile all the those windows How to intuitively resolve this problem, but keep the callbacks system powerful? IDK #103 |
Beta Was this translation helpful? Give feedback.
Yes, it's possible: