ssokolow / quicktile

Adds window-tiling hotkeys to any X11 desktop. (An analogue to WinSplit Revolution for people who don't want to use Compiz Grid)

Home Page:https://ssokolow.com/quicktile/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

4k Monitor to 6 Panel Grid

paulfeakins opened this issue · comments

Great little piece of software, very useful!

I too would like more control over the positions, but I have made a small adjustment that does work how I want.

What I like is to use my 4k monitor in a grid of 3 columns with 2 rows which makes it like a bank of 6 monitors.

I like to be able to move each window with 1 keypress without multiple sizes.

I adjusted layout.py:
middle_steps = (1.0,) + cycle_steps
edge_steps = (0.5,) + cycle_steps

Changed to:
middle_steps = cycle_steps
edge_steps = cycle_steps

And it works as I want, but I do find this part of the code a bit complex, it might be easier to read if it was all written out rather than compressed in for loops?

There's a lot of stuff in QuickTile that needs to be refactored to be cleaner and that's definitely one such area.

I'm just reluctant to start work on it before I finish making time to write a test suite because my last attempt at a major refactor is stalled pending said test suite.

Well it's great anyway and it will certainly make my computer use so much more enjoyable and convenient - thank you!

Glad I could help. I actually want to un-hardcode a lot more of the configuration... there is just so much else which I need to give more priority to.

Just a status update. As part of porting QuickTile to GTK 3 (in the gtk3_port branch at the moment), I've been writing the aforementioned test suite so, hopefully, this sort of thing will be seeing progress in the not too distant future.

Since this is essentially a duplicate of issue #60 (making tiling commands configurable enough to properly suit 4K monitors) and that one goes into more depth on my plans for solving it, I'm going to close this and leave a note there to also check the contents of this.

+1 to support six grids for 4k monitors. I recently switched from Gnome with gTile to XFCE and I have not been able to a similar solution to customize the size of the "corners" (I'm sure i3 would do it, but I'd like to keep the rest of the features of XFCE without the complexity of combining those together) to be laid out like the following 4 window positions:

1 2
3 4
3 4

In other words, I like to have the top left/right to be 1/3 of the height and 1/2 (typically terminal, files) of the width and the bottom left/right to be 2/3 the height and 1/2 the width (typically browser, code or image editing, etc).

Overall, I was really impressed with how quicky/easy it was to get this QuickTile running on Xubuntu 20.10, and having the layout I mentioned above would be perfect. Thanks for all the time on the project, @ssokolow.

ref: gTile - https://github.com/gTile/gTile