How to place all floating windows in the center?

asked 2014-07-10 09:25:09 +0000

tigrezno gravatar image

I'm trying to center dialog/popups in the center by default. I find it very distracting opening a dialog in one edge, and the next dialog in the other edge and so on.

I'm using:

for_window [class=".*"] move position center

but it only works by restarting i3 after the dialog is already visible. I suppose the issue here is that some programs will save windows positions, so i3 will try to center them and then the program will move it to the end position. Am I correct?

How can I solve this?

edit retag flag offensive close merge delete