proof-of-concept x wm in lua
- Lua 97.9%
- Makefile 2.1%
|
|
||
|---|---|---|
| .gitignore | luajit, client management, what didn't i add | |
| config.lua | pointer move/resize | |
| Makefile | init | |
| README | configurability, although questionable | |
| switch.patch | init | |
| xu.lua | Update xu.lua | |
xu == xu is a window manager for x11 written in lua using the lua-xcb[1] binding. it has most of the basic features a window manager would provide: decorations, workspaces, focus cycling and configuration. i'm not sure how it handles multiple monitors, but in whichever case, it wouldn't be too hard to patch whatever you need into the program, since it is amere ~400 lines of lua :) the name xu was chosen quite randomly, since i wanted to have a name consisting of 2 letters, and since this project uses [x]cb and l[u]a, i went with those 2. notes ----- the gen_bind.lua file provided with the lua-xcb binding did not work with the version of /usr/share/xcb/xproto.xml that was installed on my system (possibly due to the fact that it's 16 years old?), and as such i had to patch some core functionality in. the switch.patch file at the root of the repo does exactly that :) dependencies ------------ - luajit - lua-xcb (preferrably compiled with luajit) [1] https://github.com/xlq/lua-xcb