I have this neat rule in my i3 config file:
# Set floating by default
for_window [class="[.]*"] floating enable
All windows are now floating by default when they first open. I think this is great. Most windows I open I just need temporarily and I don't want them to interfere with my carefully organized layout.
The problem is: when I make a change to my i3 config and reload it using the reload
command (bound to $mod+Shift+c
in my case) all my open windows reset to floating. They don't do so immediately, but as soon as I interact with them they pop out. This is super frustrating considering how long it takes to organize my window layout.
Is it possible to have windows floating by default and prevent them from resetting to floating when I reload my config? If it's also possible to have them remain stacked when restarting i3 (restart
/$mod+Shift+r
) that would be amazing.
I vaguely remember reading somewhere that windows can be marked/flagged in the i3 config, and I think that can be used to ensure that an operation is performed just once for a window. I hope that flag doesn't reset when reloading i3. I'm going to look into that further, but I'm adding this question here just in case.