a window manager for x11
- 2 commits
- 1 branch
- 0 tags
| src | 2025-09-19 | |
| .gitignore | 2025-09-19 | |
| Cargo.lock | 2025-09-19 | |
| Cargo.toml | 2025-09-19 | |
| flake.lock | 2025-09-19 | |
| flake.nix | 2025-09-19 | |
| justfile | 2025-09-19 | |
| readme.org | 2025-09-19 |
readme.org
oxwm
oxwm
A dynamic window manager written in Rust, inspired by dwm but designed to evolve on its own. Configuration will be done as source code (Rust), keeping with the suckless philosophy of "edit + recompile."
This project is still in its early stages. Right now it can claim ownership of an X display and print incoming events.
Running with Nix flakes
You can get a reproducible dev 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
some test clients (xterm, xclock), and runs oxwm in the foreground.
# inside nix develop
just test
You should see a new Xephyr window pop up. 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 1*: connect to X, claim
SubstructureRedirect, print events. (DONE) - *Step 2*: handle
MapRequestandConfigureRequestso clients can map and appear in Xephyr. - *Step 3*: implement client tracking and a trivial tiling layout.
- *Step 4*: add keybindings (Mod+j/k, Mod+Enter, etc).
- *Step 5*: per-tag state, multiple layouts, borders, focus handling.
- *Step 6*: ICCCM/EWMH basics (WM_DELETE_WINDOW, fullscreen, etc).
- *Step 7*: split into
oxwm-corelibrary andoxwm-userconfig crate, so user configuration is written in Rust code. - *Step 8*: polish developer workflow (Nix flake, just, docs).
Status
- Rust + x11rb skeleton running
- Nix flake devShell available
just testlaunches Xephyr, clients, and oxwm
License
gpl