Show HN: A 300k-line Zig desktop environment with its own compositor,GUI toolkit...
HN Best 200 @best
Show HN: A 300k-line Zig desktop environment with its own compositor,GUI toolkit github.com · 28 points · 7 comments · HN thread
TL;DR RediWM is an early-stage Show HN project: a wlroots-based Wayland compositor written mostly in Zig that builds the whole desktop shell (taskbar, start menu, settings, lock and login screens, notifications, OSDs) and bundled apps like a file manager, image/PDF viewer and text editor into one process. The author links a visual tour and the repository, which reports roughly 300k lines of Zig, 21k of C and 61k of Python tests.
- Single-process desktop: taskbar, start menu, settings, lock/login, notifications and on-screen displays are built in, so no separate Waybar, launcher, greeter or notification daemon is needed.
- Bundled apps include settings, file manager, image/PDF viewer, text editor, system monitor and dock.
- Features include Xwayland native scaling, multi-monitor support, tiling or stacking layouts, a night light, and a Panorama Mode that lays out side workspaces in a perspective view.
- Configuration is TOML at $XDG_CONFIG_HOME/rediwm/config.toml with live reload, window rules matched by globs, and a JSON IPC socket driven by rediwm-msg.
- Requires Zig 0.17 and wlroots 0.20; installable via a shell script, a Nix flake or a NixOS module, with an optional rediwm-dm display manager.
- Code is dual-licensed Apache-2.0 or MIT; bundled fonts and cursors carry their own licenses.
Discussion The thread is short, with seven comments, and mostly friendly. Commenters react to the look and feel, compare it to older window managers, and ask about technical support. One commenter is skeptical about how a project this large could have been built in a month. The author replies to each comment directly.
- Looks good and is worth trying (many): Commenters praise the visual polish and say they plan to test it, some in a VM. One says they are happy with KDE Plasma but will try RediWM anyway.
- Feels snappy and reminiscent of Enlightenment (some): One commenter says it reminds them of the e16 window manager, which the author takes as a compliment.
- Doubts the size of the codebase given the timeline (a few): One commenter asks whether the project was vibe coded in a month, questioning the scale of 300k lines in that time. No reply addresses this directly in the thread.
- Asks about graphics stack support (a few): A commenter asks whether it supports Vulkan; the author says yes, including HDR.
#wayland #compositor #zig #desktopEnvironment #linux #showHN