tony / oxwm

Branch: 882b52b
Switch branches/tags
master
NullSector Update readme.org 6aeb5aa 2025-09-26
57 lines · 2.3 KB Code Raw Blame History

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)

StepTaskStatus
1Connect to X, claim SubstructureRedirect, print eventsDONE
2Handle MapRequest and ConfigureRequest so clients can map and appear in Xephyr⏳
3Implement client tracking and a trivial tiling layout❌
4Add keybindings (Mod+j/k, Mod+Enter, etc.)❌
5Per-tag state, multiple layouts, borders, focus handling❌
6ICCCM/EWMH basics (WM_DELETE_WINDOW, fullscreen, etc)❌
7Split into oxwm-core library and oxwm-user config crate❌
8Polish developer workflow (Nix flake, just, docs)❌

πŸ“„ Status

  • Rust + x11rb skeleton running
  • Nix flake devShell available
  • just test launches Xephyr, clients, and oxwm

πŸ“œ License

GPL