halfwit / binpack

A simple bin-packing-adjacent algorithm used in a window manager. ***This is a proof of concept, as such efficiency was not considered in the design of the algorithm***

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

For use with dotfiles/local/cfg/wmutils/wshuf eg: wshuf | binpack -x -y -g | while read r x y w h; do wtp "$x" "$y" "$w" "$h" "$wid" done

tested with clang -o binpack binpack.c -std=c99

About

A simple bin-packing-adjacent algorithm used in a window manager. ***This is a proof of concept, as such efficiency was not considered in the design of the algorithm***

License:MIT License


Languages

Language:C 89.3%Language:Makefile 5.4%Language:Shell 5.2%