/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***

Primary LanguageCMIT LicenseMIT

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