wf/xu
Archived
1
1
Fork
You've already forked xu
1
proof-of-concept x wm in lua
This repository has been archived on 2026年04月01日. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Lua 98.1%
  • Makefile 1.9%
2026年03月20日 13:04:34 +02:00
.gitignore luajit, client management, what didn't i add 2026年03月12日 00:20:56 +02:00
config.lua broken kb window move/resize 2026年03月20日 13:04:34 +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 broken kb window move/resize 2026年03月20日 13:04:34 +02: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