Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sidorares/tiles

 
 

Repository files navigation

tiles

A pure js xorg window manager, that I wrote on the plane.

screenshot

Usage - development

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

Usage - production

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)

Acknowledgements

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 hadn't helped me install archlinux (and escape OSX)

TODO

  • focus window on mouseover (currently chrome breaks this)
  • multiple workspaces
  • keyboard shortcuts
  • refactor out xorg.js once I get more familiar with it.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%