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

Resize with i3-msg

asked 2013-09-09 06:04:38 +0000

joek1010 gravatar image

When I issue a command to resize with i3-msg it looks like it always resizes to the same value. Example:

Open two terminals, split vertical. Issuing the following:

i3-msg resize grow height 5 ppt

results in the same resizing as

i3-msg resize grow height 50 ppt

Am I doing something wrong here?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2013-09-11 12:42:23 +0000

scy gravatar image

According to the documentation, section "Resizing containers/windows" (cannot link to it because of insufficient karma…), I would assume that you are using the wrong syntax here: It is resize <grow|shrink> <direction> [<px> px [or <ppt> ppt]]. The ppt value is optional, but the px value is mandatory. Since you don't specify it, I guess i3 uses the default value, which is (as also specified in the documentation) 10 pixels, for both of your statements.

edit flag offensive delete link more

Comments

Ah, ok. I just tried pasting the exact line from my conf for resize (which I swear to god I thought I tried) and it worked properly. It should really return an error on bad syntax rather than use a default value.

joek1010 gravatar imagejoek1010 ( 2013-09-11 19:39:33 +0000 )edit

Not to mention the weird syntax ...

joek1010 gravatar imagejoek1010 ( 2013-09-11 19:54:25 +0000 )edit

Note that both values have good reason to exist: ppt are used for tiling windows and pixels are used for floating windows.

Michael gravatar imageMichael ( 2013-09-14 14:50:28 +0000 )edit

Question Tools

Stats

Asked: 2013-09-09 06:04:38 +0000

Seen: 402 times

Last updated: Sep 11 '13