OxWM β Oxidize Window Manager
A dynamic window manager written in Rustπ¦, inspired by dwm but designed to evolve on its own. Configuration is done in Rust source code, keeping with the suckless philosophy of "edit + recompile."
This project is still in its early stages. Currently, it can claim ownership of an X display and log incoming events.
β Installation β Running with Nix Flakes
You can set up a reproducible development environment with Rust, Cargo, Xephyr, xterm, and just by using the flake.
git clone https://github.com/tonybanters/oxwm
cd oxwm
# enter the dev shell
nix develop
# build normally
cargo build
π§ͺ Running Tests with just
The justfile includes a test recipe that starts Xephyr on :1, launches
test clients (xterm, xclock), and runs oxwm in the foreground.
# inside nix develop
just test
This should open a new Xephyr window. oxwm will attach to it and log X11 events in your host terminal. Clients like xterm/xclock will appear inside Xephyr.
πΊ Roadmap (High Level)
| Step | Task | Status |
|---|---|---|
| 1 | Connect to X, claim SubstructureRedirect, print events | DONE |
| 2 | Handle MapRequest and ConfigureRequest so clients can map and appear in Xephyr | β³ |
| 3 | Implement client tracking and a trivial tiling layout | β |
| 4 | Add keybindings (Mod+j/k, Mod+Enter, etc.) | β |
| 5 | Per-tag state, multiple layouts, borders, focus handling | β |
| 6 | ICCCM/EWMH basics (WM_DELETE_WINDOW, fullscreen, etc) | β |
| 7 | Split into oxwm-core library and oxwm-user config crate | β |
| 8 | Polish developer workflow (Nix flake, just, docs) | β |
π Status
- Rust + x11rb skeleton running
- Nix flake devShell available
just testlaunches Xephyr, clients, and oxwm