| 1 | #+AUTHOR: Tony |
| 2 | #+STARTUP: overview |
| 3 | |
| 4 | * OxWM β Oxidize Window Manager |
| 5 | A dynamic window manager written in /Rustπ¦/, inspired by dwm but designed to evolve |
| 6 | on its own. Configuration is done in Rust source code, keeping with the suckless |
| 7 | philosophy of *"edit + recompile."* |
| 8 | |
| 9 | This project is still in its early stages. Currently, it can claim ownership of |
| 10 | an X display and log incoming events. |
| 11 | |
| 12 | * β Installation β Running with Nix Flakes |
| 13 | You can set up a reproducible development environment with Rust, Cargo, Xephyr, xterm, and |
| 14 | just by using the flake. |
| 15 | |
| 16 | #+begin_src sh |
| 17 | git clone https://github.com/tonybanters/oxwm |
| 18 | cd oxwm |
| 19 | |
| 20 | # enter the dev shell |
| 21 | nix develop |
| 22 | |
| 23 | # build normally |
| 24 | cargo build |
| 25 | #+end_src |
| 26 | |
| 27 | * π§ͺ Running Tests with just |
| 28 | The =justfile= includes a =test= recipe that starts Xephyr on =:1=, launches |
| 29 | test clients (xterm, xclock), and runs oxwm in the foreground. |
| 30 | |
| 31 | #+begin_src sh |
| 32 | # inside nix develop |
| 33 | just test |
| 34 | #+end_src |
| 35 | |
| 36 | This should open a new Xephyr window. oxwm will attach to it and log X11 |
| 37 | events in your host terminal. Clients like xterm/xclock will appear inside Xephyr. |
| 38 | |
| 39 | * πΊ Roadmap (High Level) |
| 40 | | Step | Task | Status | |
| 41 | |------+---------------------------------------------------------------------------------------+--------| |
| 42 | | 1 | Connect to X, claim =SubstructureRedirect=, print events | DONE | |
| 43 | | 2 | Handle =MapRequest= and =ConfigureRequest= so clients can map and appear in Xephyr | β³ | |
| 44 | | 3 | Implement client tracking and a trivial tiling layout | β | |
| 45 | | 4 | Add keybindings (Mod+j/k, Mod+Enter, etc.) | β | |
| 46 | | 5 | Per-tag state, multiple layouts, borders, focus handling | β | |
| 47 | | 6 | ICCCM/EWMH basics (WM_DELETE_WINDOW, fullscreen, etc) | β | |
| 48 | | 7 | Split into =oxwm-core= library and =oxwm-user= config crate | β | |
| 49 | | 8 | Polish developer workflow (Nix flake, just, docs) | β | |
| 50 | |
| 51 | * π Status |
| 52 | - Rust + x11rb skeleton running |
| 53 | - Nix flake devShell available |
| 54 | - =just test= launches Xephyr, clients, and oxwm |
| 55 | |
| 56 | * π License |
| 57 | [[https://www.gnu.org/licenses/gpl-3.0.en.html][GPL]] |