This implements tiling for the KWin window manager. It is written in
Nimrod, which compiles to JavaScript. The
resulting script (nimcache/tiling.js
) can then be loaded with kwin.
Better distribution mechanisms in progress.
Basically gravities copied from subtle, without the configurability for now. Hit the corresponding keys to move the window into the predefined tile:
M+8 M+9 M+0
\ | /
M+i - M+o - M+p
/ | \
M+m M+, M+.
nimrod -d:release -d:nodejs -d:kwin tiling.nim
# Produces tiling.js in nimcache/tiling.js
Grab kwin-minor-mode, which
already handles nimrod. C-c C-l
compiles the current buffer and
sends it to kwin. Before the next iteration, I recommend
kwin-kill-script
which kills all scripts. This is needed to
unregister the shortcuts from the previous script.