mirror of
https://github.com/harivansh-afk/deskctl.git
synced 2026-04-18 10:03:31 +00:00
site init (barrett)
This commit is contained in:
parent
f05f441dee
commit
50c9594780
15 changed files with 5862 additions and 0 deletions
19
site/src/pages/architecture.mdx
Normal file
19
site/src/pages/architecture.mdx
Normal 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue