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

Single window on a workspace take up half the screen?

asked 2015-04-13 01:03:02 +0000

lunarl0n gravatar image

Is it possible to have a single window open only take up the right or left side of the the workspace without floating that window and manually position/resizing?

edit retag flag offensive close merge delete

Comments

You could load a saved window layout wherein half the screen is reserved for one window and the remainder divided however you like with i3-save-tree and i3-msg append_layout. Could you be more clear on what you are trying to achieve.

Michael Rose gravatar imageMichael Rose ( 2015-04-13 02:18:10 +0000 )edit

I'm trying to have 1 window take up one side, and nothing take up the other side. So if I open a single terminal in an empty workspace it takes up half of the workspace instead of taking up the entire workspace.

lunarl0n gravatar imagelunarl0n ( 2015-04-13 02:29:29 +0000 )edit

You can use the undocumented IPC command `open` which opens a container without a window. This is, of course, officially not supported, though.

airblader gravatar imageairblader ( 2015-04-13 09:43:17 +0000 )edit

Thanks, I was thinking that creating an empty container could be a solution, just unsure how to do it.

lunarl0n gravatar imagelunarl0n ( 2015-04-13 14:17:01 +0000 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-04-13 14:19:03 +0000

lunarl0n gravatar image

I was able to add a keybinding to create an empty container:

bindsym $mod+o open

Then I could open a terminal alongside it to only take up half the screen.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2015-04-13 01:03:02 +0000

Seen: 177 times

Last updated: Apr 13