Skip to content

Design Decisions

Bruh edited this page Nov 27, 2026 · 1 revision

Design Decisions

Summary of docs/DECISIONS.md - all decisions below are Accepted. The doc holds the full rationale; this page is the index.

Stack & platform

ID Decision
D-001 Language and UI toolkit: C++20 + Qt 6 / QML
D-002 Compositor core: wlroots, vendored and pinned
D-003 Base distribution: Debian 13 "trixie"
D-004 Display server: Wayland-only compositor, X11 via XWayland (XWayland still on the roadmap)
D-005 Boot: systemd, no display manager (the live session autologins on tty1)
D-006 Filesystems: ext4 default, Btrfs optional with subvolumes
D-007 Bootloader: GRUB 2, hybrid UEFI + BIOS

Design system

ID Decision
D-010 Colour engine: from-spec CAM16/HCT in libm3 (C++), verified against material-color-utilities
D-011 Tokens as the single source of truth; generated artifacts
D-012 Dynamic colour propagation: live JSON + generated static CSS/xrdb
D-013 Rounded corners & shadows drawn server-side by the compositor
D-014 Typography: Google Sans unavailable, so Inter is the M3 typeface
D-015 Icons: custom Material-symbol-consistent set + symbolic fallback
D-016 Motion: tokenized M3 easing + duration; geometry motion compositor-side only

Components

ID Decision
D-020 Web browser: package Firefox ESR + generated M3 chrome, don't fork
D-021 Terminal: GTK4 + VTE themed via generated CSS (as recorded in DECISIONS.md; the shipped alpha terminal matterminal implements a real PTY + VT emulator - see the README)
D-022 Settings/app backends: real D-Bus system services, no mock data
D-023 Software Center: PackageKit over APT (+ optional Flatpak)
D-024 Notifications: matshell implements org.freedesktop.Notifications; rules/DND owned by matsessiond
D-025 Lock screen: ext-session-lock-v1 + PAM in matlock
D-026 Idle/power: matsessiond state machine over ext-idle-notify-v1 + logind inhibitors
D-027 Privilege: only the installer core is privileged, gated by polkit
D-028 No telemetry; opt-in local crash reports

Build & release

ID Decision
D-030 Reproducible builds: pinned snapshot + SOURCE_DATE_EPOCH + pinned third-party
D-031 Hybrid ISO with overlay-root initramfs
D-032 CMake (not Meson) for the project tree; Meson allowed for vendored wlroots
D-033 Testing: pure-logic unit tests host-agnostic; compositor/VM tests Linux-only
D-034 Alpha 0.1 scope: prove a runnable base before broadening the suite
D-035 Older-host live-build compatibility stays project-local

See also: Architecture, Roadmap and Status.

Clone this wiki locally