site init (barrett)

This commit is contained in:
Harivansh Rathi 2026-03-25 15:44:35 -04:00 committed by Hari
parent f05f441dee
commit 50c9594780
15 changed files with 5862 additions and 0 deletions

View file

@ -0,0 +1,19 @@
---
layout: ../layouts/DocLayout.astro
title: Architecture
toc: true
---
# Architecture
## Client-daemon model
deskctl uses a client-daemon architecture over Unix sockets with an NDJSON wire protocol. The daemon starts automatically on the first command and keeps the X11 connection alive for fast repeated calls.
## Backend design
The backend is trait-based, making it straightforward to add support for different display servers. The current implementation targets X11 via `x11rb`.
## Wayland support
Coming soon. The trait-based backend design means adding Hyprland/Wayland support is a single trait implementation with zero refactoring of the core.