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)
https://ssokolow.com/quicktile/
GNU General Public License v2.0
861 stars 78 forks source link

Adding Custom Sizes #88

Closed vishalred closed 6 years ago

vishalred commented 6 years ago

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

ssokolow commented 6 years ago

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

vishalred commented 6 years ago

thank you. cycle_steps worked .