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

Size of new windows

asked 2012-06-17 12:45:52 +0000

anonymous user

Anonymous

First of all let me say I love i3, thanks for all the hard work.

My question is, would it be possible, by editing the config, to open new windows in a certain size? In wmii, e.g., when you move a window to the left (or right) of some stacked set of windows, it would fill less than half of the screen. In i3, it always fills exactly half of the screen. I kinda liked the wmii way, so is there a way I can implement this in i3?

thanks

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
1

answered 2012-06-17 13:14:33 +0000

joepd gravatar image

This is not possible yet.

Though it might be possible when making use of the IPC interface (and the scripting libraries abusing this). Has anyone managed to script this kind of behavior?

edit flag offensive delete link more
0

answered 2012-06-19 17:33:12 +0000

If you want this for a certain set maybe this configuration from GraveyardPC's post helps you:

# gimp
assign [class="Gimp"] gimp
bindsym Mod1+g workspace gimp
for_window [title="GIMP Startup"] move workspace gimp
for_window [window_role="gimp-toolbox"] floating disable; layout stacking; move left; resize shrink right 31px or 31 ppt
edit flag offensive delete link more
0

answered 2012-06-25 17:48:42 +0000

MeanEYE gravatar image

updated 2012-06-29 11:35:15 +0000

You could try playing with Devil's Pie. It's a small window matching utility designed for things like this. I didn't test it on i3 but it should work.

Edit: This will not work as i3 doesn't listen to size requests from tiled windows.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-06-17 12:45:52 +0000

Seen: 2,453 times

Last updated: Jun 29 '12