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