The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

Set the split on the top or on the left of the current window

asked 2015-06-25 11:41:22 +0000

Spheerys gravatar image

updated 2015-07-12 17:17:45 +0000

Hi,

By default, i3wm can divide a screen horizontally or vertically. With the correct key binding, you mark the split respectively on the right, or on the bottom of the current window. I often need to split horizontally a window, but not on the right side : on the left side ! I do it classically, but I have to move the new window on the left side. It's too much effort for me (i3wm makes me very, very lazy ^^).

Is it already possible, with a second bind key ($win+Shift+v for example), to split on the left side or on the top of the current window ? If not, could we imagine this improvement in a future version ?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-07-05 20:43:19 +0000

Spheerys gravatar image

For information (and to support this feature), I have opened an issue on the Github repository : https://github.com/i3/i3/issues/1767

edit flag offensive delete link more
0

answered 2015-06-25 11:48:37 +0000

Airblader gravatar image

There is no built-in command for this, no. In some cases this would do:

bindsym $win+Shift+v focus up, split v
bindsym $win+Shift+h focus left, split h

But it won't work in all scenarios, e.g., it won't work if you only have one window open on a workspace. And it'll even "break" if you use multiple monitors.

As for adding this as a feature, you should file a feature request on Github.

edit flag offensive delete link more

Comments

"it won't work if you only have one window open on a workspace." -> I don't know why it won't works if you have only one window on a workspace. The split will be marked and the next openned window will go where you want... "you should file a feature request on Github" --> I will :)

Spheerys gravatar imageSpheerys ( 2015-06-25 12:40:47 +0000 )edit

I meant that my proposed workaround won't work in those cases. If properly implemented, it will (and of course HAS TO) work in such cases.

Airblader gravatar imageAirblader ( 2015-06-25 12:50:43 +0000 )edit

Question Tools

1 follower

Stats

Asked: 2015-06-25 11:41:22 +0000

Seen: 134 times

Last updated: Jul 12