tony / oxwm

a window manager for x11

Branch: 6aeb5aa
Switch branches/tags
master
Go to file New pull request
Clone
Clone with HTTPS
NullSector Update readme.org Latest commit 6aeb5aa 2025-09-26
src changed count to window_count 2025-09-26
.envrc add envrc 2025-09-24
.gitignore add envrc 2025-09-24
Cargo.lock Initial commit. 2025-09-19
Cargo.toml Initial commit. 2025-09-19
flake.lock Initial commit. 2025-09-19
flake.nix add missing xclock package to devshell 2025-09-24
justfile Added layout module, and dynamic tiling layout instead of hard coded layout. Changed just file to just open xephyr, need to run xclock from a 2nd terminal. 2025-09-26
readme.org Update readme.org 2025-09-26

readme.org

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