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

Adding Custom Sizes

vishalred opened this issue · comments

I am new to this project. Currently the window can resize from 75% , 50% and 25% of what I understand.

I would like to add more say 85% and even maybe 95%. Please guide me where in the code I can get this done.

Its been some time I have worked on python.

Thank you,
Vishal

First, try increasing the ColumnCount setting in your ~/.config/quicktile.cfg file. That might be enough to meet your needs and, if it is, you don't need to edit any code. (Which save you trouble and makes it easier for you to install updates now that I'm back to working on improvements.)

If that isn't enough, you'll want to edit the cycle_steps variable in the make_winsplit_positions function inside quicktile/layout.py. (I haven't gotten to that function yet in the cleanups I've been doing lately, so it's not as easy to understand as it could be. Sorry about that.)

thank you. cycle_steps worked .