tony / oxwm

Branch: 42edaf6
Switch branches/tags
master
tonybtw Initial commit. 9c5b24f 2025-09-19
59 lines · 1.8 KB Rendered Raw Blame History
1 #+TITLE: oxwm
2 #+AUTHOR: Tony
3 #+STARTUP: overview
4
5 * oxwm
6 A dynamic window manager written in Rust, inspired by dwm but designed to evolve
7 on its own. Configuration will be done as source code (Rust), keeping with the
8 suckless philosophy of "edit + recompile."
9
10 This project is still in its early stages. Right now it can claim ownership of
11 an X display and print incoming events.
12
13 * Running with Nix flakes
14 You can get a reproducible dev environment with Rust, Cargo, Xephyr, xterm, and
15 just by using the flake.
16
17 #+begin_src sh
18 git clone https://github.com/tonybanters/oxwm
19 cd oxwm
20
21 # enter the dev shell
22 nix develop
23
24 # build normally
25 cargo build
26 #+end_src
27
28 * Running tests with just
29 The =justfile= includes a =test= recipe that starts Xephyr on =:1=, launches
30 some test clients (xterm, xclock), and runs oxwm in the foreground.
31
32 #+begin_src sh
33 # inside nix develop
34 just test
35 #+end_src
36
37 You should see a new Xephyr window pop up. oxwm will attach to it and log X11
38 events in your host terminal. Clients like xterm/xclock will appear inside
39 Xephyr.
40
41 * Roadmap (high level)
42 - **Step 1** :: connect to X, claim =SubstructureRedirect=, print events. (DONE)
43 - **Step 2** :: handle =MapRequest= and =ConfigureRequest= so clients can map
44 and appear in Xephyr.
45 - **Step 3** :: implement client tracking and a trivial tiling layout.
46 - **Step 4** :: add keybindings (Mod+j/k, Mod+Enter, etc).
47 - **Step 5** :: per-tag state, multiple layouts, borders, focus handling.
48 - **Step 6** :: ICCCM/EWMH basics (WM_DELETE_WINDOW, fullscreen, etc).
49 - **Step 7** :: split into =oxwm-core= library and =oxwm-user= config crate,
50 so user configuration is written in Rust code.
51 - **Step 8** :: polish developer workflow (Nix flake, just, docs).
52
53 * Status
54 - Rust + x11rb skeleton running
55 - Nix flake devShell available
56 - =just test= launches Xephyr, clients, and oxwm
57
58 * License
59 gpl