Skip to content

RediWM is a Wayland compositor written in Zig (OpenGL ES) that includes everything in one process

README

RediWM — One process. A whole desktop. A Wayland compositor with its shell and everyday apps built in, written in Zig.

Built with Zig 0.17 Powered by wlroots 0.20 Wayland desktop Licensed under MIT or Apache 2.0

Get started   Explore the desktop

Features  ·  Built-in apps  ·  Shortcuts  ·  Configuration  ·  IPC  ·  Docs

RediWM is a wlroots Wayland compositor that draws its entire desktop shell in one process: taskbar, start menu, settings, lock and login screens, notifications and on-screen displays.

No separate bar to configure. No launcher to bolt on. No notification daemon to wire up. Just one desktop, built together.

https://github.com/user-attachments/assets/a9f8529d-19c4-4a45-a4be-95a184bde15f

1–2s

From start to desktop

1 process

Compositor + desktop shell

< 200 MB

Idle RAM usage

< 1% CPU

Idle CPU usage

RediWM theme showcase 1 RediWM theme showcase 3
RediWM theme showcase 2 RediWM theme showcase 4

Built-in apps

⚙️ Settings 📁 File manager
RediWM Settings RediWM file manager
🖼️ Image / PDF viewer 📝 Text editor
RediWM image and PDF viewer RediWM text editor
System Monitor Dock
RediWM image and PDF viewer RediWM text editor

Sharp on HiDPI

Xwayland native scaling keeps X11 applications sharp on high-density displays.

Lock / Login screen

PAM-backed lock and login screens, with the optional rediwm-dm display manager.

Your notifications

A built-in notification daemon with actions, images and do-not-disturb rules.

Night light

Adjust the display colour temperature with the built-in night light.

Multi-monitor support

Use multiple monitors in the same desktop session.

Tiling / stacking layouts

Arrange windows using tiling or stacking layouts.

Built-in shell and apps. Taskbar, start menu, desktop icons, settings, file manager, image/PDF viewer and text editor. No separate Waybar, greeter, launcher or notification daemon is required.

Wayland tools. Works with wlr-randr, kanshi, swaylock, swayidle, grim, wf-recorder, wayvnc and docks.

🚀 Get RediWM

Linux installer

Arch and derivatives — including Artix and CachyOS — Debian, Ubuntu and Fedora:

curl -fsSL https://rediwm.redios.org/install.sh | sh
🔐 Include the optional RediWM display manager

Install the prebuilt release together with rediwm-dm:

curl -fsSL https://rediwm.redios.org/install.sh | sh -s -- --dm

NixOS · x86_64

Use the flake and NixOS module, not the shell installer above.

To build just the package, without configuring a login session:

nix build github:oxydizer/rediwm

Build it yourself

Requires Zig 0.17, wlroots 0.20, and the development dependencies below.

📦 Full dependency list

Wayland, wayland-protocols, xkbcommon, pixman, FreeType, HarfBuzz, Fontconfig, librsvg/GdkPixbuf, PangoCairo, libinput, PAM, libpulse, libpipewire-0.3, Poppler GLib, libarchive, libjpeg, libpng, libwebp and GNU Readline.

# Try it nested inside your current Wayland session
zig build run -- foot

# Build for daily use and measurements
zig build -Doptimize=ReleaseSafe

# Install the session and restart the running session
sh scripts/install-session.sh

# Or install without restarting, including rediwm-dm
sh scripts/install-session.sh --no-restart --dm

For custom prefixes and distribution packages, see Installation layouts and packaging.


⌨️ Keyboard shortcuts

Keys Action
Super + Space Open the centred app launcher
Super + T / E / B Terminal / Files / browser
Super + Q / F / M Close / fullscreen / maximise
Super + ← → ↑ ↓ Slide to the neighbouring desktop
Super + Ctrl + arrows Focus the window in that direction
Alt + Tab Switch windows
Super + 1…5 or = / - / 0 Zoom a window
Super + Shift + = / - / 0 Zoom the desktop
Super + L Lock the screen
Ctrl + Shift + S / Print Region / full-screen screenshot
Super + Z Undo the last window move or resize
Super + Shift + E Quit RediWM

Canvas bindings live in [keybinds]; set one to "noop" to disable it.

🎛️ Configuration

$XDG_CONFIG_HOME/rediwm/config.toml

RediWM writes commented defaults on first run and reloads on save. A parse error keeps the previous configuration active. Set REDIWM_CONFIG to override the path.

🗂️ Configuration sections

[theme] · [input] · [input_method] · [compositor] · [region] · [idle] · [night_light] · [notifications] · [desktop] · [polkit] · [ipc] · and more.

🪟 Per-window rules and a Picture-in-Picture example

Window rules match by globs. For each property, the last matching rule wins.

[[window_rules]]
app_id = ["firefox", "chromium"]
title = "*Picture-in-Picture*"
opacity = 0.9
skip_taskbar = true
focus = false

Matchers: app_id, title, x11_class, x11_instance, backend, dialog and exclude_*.

Properties: output, x, y, center, width, height, maximized, fullscreen, focus, depth, opacity, decorations and skip_taskbar.

🔌 Scriptable

Use rediwm-msg to talk to RediWM's JSON IPC:

rediwm-msg outputs
rediwm-msg output-config DP-1 --scale 1.5
rediwm-msg notifications

The socket is $XDG_RUNTIME_DIR/rediwm-<WAYLAND_DISPLAY>.sock, or the path specified by REDIWM_SOCKET, in a private directory only. The protocol reference is src/ipc/protocol.zig.

📡 Wire format and request examples

IPC v1 is UTF-8 JSON, with one request and one response per newline. Every request uses the envelope below; command names are case-sensitive snake_case.

{"version":1,"id":1,"command":"windows"}
{"version":1,"id":2,"command":"move_cursor","params":{"x":100,"y":200}}

Automation is opt-in. Synthetic input and pixel reads require automation = true in [ipc], or REDIWM_IPC_AUTOMATION=1. All IPC requests are refused while locked.


📚 Docs

Explore What is inside
Security Security boundaries and design decisions
Testing Unit and headless integration tests
Installation and packaging Custom prefixes and distribution packages
NixOS Flake and NixOS module
D-Bus transport D-Bus integration
Polkit agent Polkit integration
IPC protocol Command and message reference

Credits

Typography by Manrope and JetBrains Mono (SIL OFL 1.1). Cursors by phinger-cursors (CC BY-SA 4.0).

License

RediWM's own code is dual-licensed under either the Apache License, Version 2.0 or the MIT License.

Bundled third-party assets retain their own licenses: fonts in assets/fonts under SIL OFL 1.1, and cursors in assets/cursors under CC BY-SA 4.0.



One process. Your whole desktop.

RediWM · Built in Zig · Powered by wlroots

↑ Back to the top