A pure js xorg window manager, that I wrote on the plane.
install 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
my ~/.xinit looks like this:
xmodmap -e "pointer = 1 2 3 5 4"
setxkbmap -layout dvorak
#exec dwm
xterm &
exec node ./c/tiles/tiles.js > tiles.log
On my setup, I login on a bare terminal, and then start my window manager with startx.
If you use ubuntu or something with a shishi login screen you can add the following to
/usr/share/xsessions
[Desktop Entry]
Encoding=UTF-8
Name=tiles
Comment=This session starts tiles
Exec=/PATH/TO/tiles.sh
Type=Application
(that is what nwm suggests, so that will probably work)
This was easy becase of x11, and what I had learnt hacking on nwm I would also never have done this if gb and (eb)[http://evbogue.com/)1 hadn't helped me install archlinux (and escape OSX)
- focus window on mouseover (currently chrome breaks this)
- multiple workspaces
- keyboard shortcuts
- refactor out
xorg.jsonce I get more familiar with it.
MIT