Closed kris-chin closed 2 months ago
UPDATE: I tried fixing this by implementing a global split mode that will always open new windows through a global split. however, for some reason, I had difficulties implementing that. so instead, I decided to just have the icon accurately reflect the focused window's orientation. good enough.
since i3's splits are actually container-based rather than global based, if you attempt a horizontal split, then switch to vertical mode on the left side of the horizontal split, attempting to split on the right side will actually split horizontally still. this is because the upper container is actually still a horizontal orientation.
the simple fix is to actually read the global split mode file that I wrote, and apply that split as an i3ipc wrapper during the split command