gioser

tawasuyu/mirada

Sovereign tiling Wayland compositor + window manager in Rust, on Llimphi.

Rust 50Markdown 30TOML 211282 Definiciones

⎇ 6ec13f32f52391dd5da0c449d93cc0727efa0f02 README.md Markdown · 43 líneas · 2.8 KB Historia crudo

feat: mirada standalone — compositor Wayland + WM sobre Llimphi (build magro) 3dc85ebdc · Sergio ·

1# mirada
2
3> A sovereign Wayland compositor + tiling window manager, in Rust, on [Llimphi](https://gitea.gioser.net/sergio/llimphi).
4
5`mirada` (Spanish *look, gaze*) is the display stack: a tiling Wayland compositor, an XDG desktop portal (generic file pickers / screenshare), a PAM login greeter, and the control CLI. The architecture splits cleanly in two:
6
7- **Cuerpo** (`mirada-body` + `mirada-compositor`) — the Wayland surface over [`smithay`](https://github.com/Smithay/smithay). Manages outputs and surfaces, translates commands into backend operations. DRM/KMS native, or nested inside a host Wayland for development.
8- **Cerebro** (`mirada-brain`) — the desktop orchestrator: virtual desktops, windows, focus, tiling. Consumes `BodyEvent`, emits `BrainCommand`. **Agnostic of smithay and of any toolkit** — it can drive a remote Cuerpo over `mirada-link`.
9
10All UI (greeter, portal dialogs, menus) renders on Llimphi-HAL, so the same scene tree runs on Wayland and on Wawa bare-metal.
11
12## Run
13
14```sh
15cargo run --release -p mirada-compositor   # the compositor (nested in a host Wayland for dev)
16cargo run --release -p mirada-greeter      # PAM login greeter (real backend + mock)
17cargo run --release -p mirada-ctl -- ...   # control the running compositor (swaymsg/hyprctl style)
18```
19
20DRM/KMS needs seat permissions — launch from a greeter/seat, not a plain user terminal. Nested mode (inside an existing Wayland session) is the friendly dev path.
21
22## Features
23
24- **Tiling WM** (Hyprland-like): directional navigation, multi-monitor, workspace move/swap-master, configurable borders, hot-reload of `config.ron`.
25- **Multi-monitor, multi-DPI**: per-output wallpaper / order / scale / fit; logical layout across mixed 1×/2× outputs; hotplug.
26- **Openbox-style root menu** with nested submenus; autohide bottom bar.
27- **Greeter MVP**: remembers last user/desktop, `↑`/`↓` switch desktops, configurable *Matrix*-rain background, real PAM backend + mock.
28- **Robust VT switching** (`Ctrl+Alt+F1…F12`) with libseat pause/resume, keymap-independent.
29- **Complete XDG portal**: any app gets file pickers via the portal with no app-specific code.
30
31## Scope of this repository
32
33This is the **lean** build of mirada — the compositor, WM, greeter, portal and CLI. The AI desktop assistant (`mirada-asistente`, which pulls an LLM stack) and the experimental WebAssembly status bar (`mirada-bar-web`) are **not** included here; the compositor does not depend on them.
34
35## Caveats (honest state)
36
37- **Not a `sway`/`weston` replacement in stability** — yet. It replaces them in *Llimphi-HAL compatibility*.
38- DRM/KMS path validated on **Intel** only. NVIDIA proprietary and multi-GPU/Optimus are untested.
39- Production DRM/KMS hardening beyond the MVP is ongoing.
40
41## License
42
43MIT. Builds on [Llimphi](https://gitea.gioser.net/sergio/llimphi) (pulled as a git dependency).

README.md

mirada

A sovereign Wayland compositor + tiling window manager, in Rust, on Llimphi.

mirada (Spanish look, gaze) is the display stack: a tiling Wayland compositor, an XDG desktop portal (generic file pickers / screenshare), a PAM login greeter, and the control CLI. The architecture splits cleanly in two:

All UI (greeter, portal dialogs, menus) renders on Llimphi-HAL, so the same scene tree runs on Wayland and on Wawa bare-metal.

Run

cargo run --release -p mirada-compositor   # the compositor (nested in a host Wayland for dev)
cargo run --release -p mirada-greeter      # PAM login greeter (real backend + mock)
cargo run --release -p mirada-ctl -- ...   # control the running compositor (swaymsg/hyprctl style)

DRM/KMS needs seat permissions — launch from a greeter/seat, not a plain user terminal. Nested mode (inside an existing Wayland session) is the friendly dev path.

Features

Scope of this repository

This is the lean build of mirada — the compositor, WM, greeter, portal and CLI. The AI desktop assistant (mirada-asistente, which pulls an LLM stack) and the experimental WebAssembly status bar (mirada-bar-web) are not included here; the compositor does not depend on them.

Caveats (honest state)

License

MIT. Builds on Llimphi (pulled as a git dependency).