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 May 13 '13

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

1 answer

Sort by » oldest newest most voted
0

answered May 13 '13

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 :)

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 (Dec 2 '13)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 (Dec 3 '13)edit

Question Tools

Stats

Asked: May 13 '13

Seen: 297 times

Last updated: May 13 '13