i3-layout-manager icon indicating copy to clipboard operation
i3-layout-manager copied to clipboard

Allow saving layout programatically

Open kantord opened this issue 5 years ago • 4 comments

Is there currently a way to avoid the promt for a layout name by specifying the layout name programatically?

kantord avatar Sep 28 '20 21:09 kantord

Not currently, but I will work on it. I will find a use for it aswell.

klaxalk avatar Nov 04 '20 10:11 klaxalk

Also, it would be nice to have a way to avoid all the prompts by specifying a default answer if the windows are trivial to match (for example a window class has been specified manually)

kantord avatar Nov 05 '20 06:11 kantord

Ok, sounds good.

klaxalk avatar Nov 05 '20 09:11 klaxalk

Maybe you can make something like winner-mode in Emacs. It can save emacs window layout automatically if the layout stays unchanged for a specified time (like 3 second?), and you can switch back and forth in the saved layout. The EXWM window manager uses winner mode, it will be nice to have this in i3.

QiangF avatar Nov 06 '20 12:11 QiangF