1
0
Fork
You've already forked xu
0
forked from wf/xu
proof-of-concept x wm in lua
  • Lua 97.9%
  • Makefile 2.1%
pita f1e3affec5 Update xu.lua
100000000 times performance change of the MAX helper function
2026年03月18日 14:13:59 +01:00
.gitignore luajit, client management, what didn't i add 2026年03月12日 00:20:56 +02:00
config.lua pointer move/resize 2026年03月17日 19:31:33 +02:00
Makefile init 2026年03月11日 00:57:48 +02:00
README configurability, although questionable 2026年03月12日 17:01:02 +02:00
switch.patch init 2026年03月11日 00:57:48 +02:00
xu.lua Update xu.lua 2026年03月18日 14:13:59 +01:00

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