i3-msg/ipc Retrive direction window WILL split

asked 2014-11-20 09:19:53 +0000

brianecker gravatar image

I'd like to retrieve the direction the currently focused window will split when the next new window is opened. I've looked through the output of getworkspaces and gettree, but they only seem to contain the last split directions, not the one currently selected to split in.

I want to use this to display the split direction in my i3 bar as "HORIZONTAL" or "VERTICAL" but have no way to retrieve it. I know there are little indicator bars on the sides of windows that show where they will split, but I find them hard to see.

edit retag flag offensive close merge delete


Not the method you are looking for, but in the mean time you could set the indicator bar color to a brighter color. You can change the default colors in the config file.

jefeyay gravatar imagejefeyay ( 2014-12-08 14:06:41 +0000 )edit