tony / oxwm

Branch: 333c305
Switch branches/tags
master
tonybtw Initial commit. 9c5b24f 2025-09-19
59 lines · 1.8 KB Code Raw Blame History

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 MapRequest and ConfigureRequest so 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-core library and oxwm-user config 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 test launches Xephyr, clients, and oxwm

License

gpl