· via Hacker News – Front Page (hnrss.org)
RediWM: a 300,000-line Zig desktop environment running shell and compositor in one process
RediWM, a desktop environment of roughly 300,000 lines of Zig, runs its Wayland compositor, shell and built-in apps in a single process, and surfaced on Hacker News's front page.
What happened
A Linux desktop environment called RediWM has drawn attention after reaching the front page of Hacker News; the listing is dated November 30, 2026. Hosted on GitHub under the oxydizer account, the project is a Wayland compositor written in Zig that draws its entire desktop shell — taskbar, start menu, settings, lock and login screens, notifications and on-screen displays — inside a single process.
The Hacker News post puts the codebase at roughly 300,000 lines of Zig and describes it as shipping its own GUI toolkit alongside the compositor. The GitHub page says the compositor is built on wlroots, while the Hacker News summary notes that rendering uses OpenGL ES.
One process instead of many
Most Wayland desktops are assembled from independent parts: a compositor such as Sway, a bar like Waybar, a launcher, a notification daemon and a greeter, each configured separately. RediWM takes the opposite route and builds those components together, and its documentation treats having nothing external to wire up as the point.
The project reports its own headline numbers: one to two seconds from start to desktop, under 200 MB of idle memory and under 1% idle CPU. Those figures are self-reported, but they frame the ambition — a complete desktop that stays light.
It is not isolated from the surrounding ecosystem, though. According to the GitHub page, RediWM works with the familiar wlroots-adjacent tools, including wlr-randr, kanshi, swaylock, swayidle, grim, wf-recorder and wayvnc.
What ships inside
The shell includes desktop icons, a dock and a start menu, along with a small set of built-in applications: a settings app, a file manager, an image and PDF viewer, a text editor and a system monitor. Lock and login screens are PAM-backed, with an optional display manager named rediwm-dm, and the notification daemon supports actions, images and do-not-disturb rules.
Window management offers tiling and stacking layouts, multi-monitor sessions, a night-light control for colour temperature, and native Xwayland scaling so X11 applications remain sharp on high-density displays.
The most unusual feature is Panorama Mode: side workspaces shown as angled panes flanking the centre workspace, each sized to its pane's proportions so tiled windows are not squeezed. Moving the pointer toward a pane's outer edge turns it toward the viewer for reading. The GitHub page documents the defaults, including a 65% perspective, 22% of available width per side, a 90% overall vertical scale and 110% zoom in all three panes.
Configuration, rules and scripting
Settings live in a TOML file at $XDG_CONFIG_HOME/rediwm/config.toml. On first run RediWM writes out a commented set of defaults and reloads the file on save; if a parse error occurs, the previous configuration stays active instead of breaking the session.
Window rules match on globs against attributes such as app_id, title, x11_class and backend, and can set output, position, size, opacity, decorations and skip_taskbar. When several rules match, the last one wins for each property.
Scripting goes through a JSON IPC channel reachable via the rediwm-msg tool over a socket in the user's runtime directory. The protocol is newline-delimited UTF-8 JSON with case-sensitive snake_case command names. The security posture is spelled out: synthetic input and pixel reads require automation to be enabled in the IPC configuration or through an environment variable, and every IPC request is refused while the screen is locked.
Getting it
Prebuilt installation is offered through a shell script for Arch and derivatives — Artix and CachyOS are named — plus Debian, Ubuntu and Fedora, with an option to include the display manager. NixOS users are directed to a flake and module instead. Building from source requires Zig 0.17 and wlroots 0.20, along with a long dependency list covering Wayland protocols, xkbcommon, pixman, FreeType, HarfBuzz, Fontconfig, PangoCairo, libinput, PAM, PulseAudio and PipeWire libraries, Poppler, libarchive and several image codecs. The project says it can be run nested inside an existing Wayland session for testing.
RediWM's own code is dual-licensed under Apache 2.0 and MIT; the bundled Manrope and JetBrains Mono fonts and the phinger cursor set retain their original licences.
Why it matters
Two audiences have reasons to pay attention.
For systems programmers, RediWM is a large body of end-user software written in Zig, a language still young enough that projects of this scale are notable in themselves. Because it builds on wlroots rather than reimplementing the Wayland stack, the ambitious portion — the shell, the apps and, per the Hacker News post, a GUI toolkit — sits in the newer language while the protocol heavy lifting is handled by a proven library.
For the Linux desktop, the project is a bet on integration in a landscape defined by composition. GNOME and KDE deliver completeness at the cost of massive C and C++ codebases; the wlroots world delivers modularity at the cost of assembly work. A single-process desktop with built-in apps, a documented IPC security model and self-reported idle memory under 200 MB is a rare third path. The usual caveats apply: the performance figures come from the project itself, and a codebase that has just surfaced publicly needs time in the wild before its stability can be judged.
- #zig
- #wayland
- #linux
- #desktop-environment
- #open-source