A pure js xorg window manager, that I wrote on the plane.
Xephyr to run another display inside your current window manager.
then start everything with the
DISPLAY envar set,
so it will run in the correct display.
Xephyr -br :1 &DISPLAY=:1 xterm &DISPLAY=:1 node tiles.js
first, install globally
npm install -g tiles
~/.xinit looks like this:
setxkbmap -layout dvorakexport TERM='xterm -fn=7x13 -rv'exec node /home/dominic/c/tiles/tiles.js > tiles.log
On my setup, I login on a bare terminal, and then start my window manager with
If you use
ubuntu or something with a shishi login screen you can add the following to
[Desktop Entry]Encoding=UTF-8Name=tilesComment=This session starts tilesExec=/PATH/TO/tiles.jsType=Application
(that is what nwm suggests, so that will probably work)
tiles uses rc to manage it's configuration.
./config.js for default settings. Currently only animation time and framerate
are configurable. TODO: keyboard commands.
xorg.jsonce I get more familiar with it.