You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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***
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***