Skip to content

reactormonk/nim-kwin-tiling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kwin Tiling (written in Nimrod)

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.

Use

Geometries

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+.

Develop

Building the script

nimrod -d:release -d:nodejs -d:kwin tiling.nim
# Produces tiling.js in nimcache/tiling.js

Development Setup

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.

Releases

No releases published

Packages

No packages published

Languages