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

Fixed window width (percentage)

asked 2013-05-13 14:28:28 +0000

iomartin gravatar image

Hello,

When running Skype, I usually have two windows open: one for my contacts and one with the actual converstations.

By default, each occupies 50% of the screen width, but I would like to set, say, the contacts to 30% of the screen width and the conversation to 70%. How can I achieve that, preferentially storing it somewhere in the config so that I don't have to adjust it every time?

Thank you

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-05-13 21:47:36 +0000

joepd gravatar image

Has been discussed on the mailing list and on the bug tracker.

Feel free to post your IPC solution if you create any :)

edit flag offensive delete link more

Comments

Is there any way to just *set* the width of a window to a percentage of the total screen size? I'd be happy to use IPC but I don't think there is any such mechanism.

milkypostman gravatar imagemilkypostman ( 2013-12-02 19:55:01 +0000 )edit

Well, using IPC (but really with any host of tools) you can get the output resolution (`i3-msg -t get_outputs`). Making a calculation based on this, how many pixels some border should move in `$direction` should be your easiest problem ;)

joepd gravatar imagejoepd ( 2013-12-03 08:07:28 +0000 )edit

Question Tools

Stats

Asked: 2013-05-13 14:28:28 +0000

Seen: 297 times

Last updated: May 13 '13