Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floating window placement in percent, left and bottom aligned #3856

Open
cehteh opened this issue Nov 3, 2019 · 0 comments
Labels

Comments

@cehteh
Copy link

@cehteh cehteh commented Nov 3, 2019

I'm submitting a…

[ ] Bug
[x] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior

move position <x> px <y> px takes arguments in 'px' which originate in the upper left corner of the screen.

Desired Behavior

It would be nice when move position also supports 'ppt' or '%' for defining the position.
On similar thought, the coordinates could be reversed to originate in on the right/bottom (which then uses the right/bottom border of a window as well). I suggest to use negative values for that:
move position -0 -0 would place a window on the bottom left of the screen.

Rationale

Using these features makes positioning device independent. I'd like to share my i3 config on different computers which have different geometries. Such features would simplify this a lot.

We have 'ppt' already in the 'resize' command, would be orthogonal to use it on other commands where positions are given as well.

@i3bot i3bot added the enhancement label Nov 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.