8000 GitHub - grocid/gpartition: A window partitioner
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

grocid/gpartition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpartition

Below is an example of a layout. The user runs

partition --apply

Seemingly, partition identifies the set of windows with one Sublime Text and two terminals. This means that the exact same layout has been learned before. The user can let partition re-learn the layout by invoking

partition --learn

If you are struggling with getting the windows to line up, simply invoke

partition --quantize

which will snap the windows to a much sparser grid on the desktop.

An example layout

Here is another layout, consisting of a visible instance of Brave, one instance of Sublime Text and two terminals. This one has also been saved.

Another example layout

Now, the user ran

partition --pack

This takes the set of visible windows and packs them (with a gap) using a heuristic bin-packing algorithm. I did not bother to write my own, so the user needs to install it:

pip install rectpack

Packed windows

About

A window partitioner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0