A bar widget and panel for the Omarchy shell: see who is sharpening this machine, control the other machines on your SharpDesk account, and change this box's display and VNC settings without leaving the bar.
SharpDesk matches a remote machine's display resolution to the window you're viewing it in, so a remote desktop is sharp rather than scaled. It is not a viewer — it sits beside Screens, Apple Screen Sharing, RustDesk or Jump Desktop and reshapes the far end for them.
The SharpDesk Linux agent, signed in on this machine.
This plugin is a user interface, not the thing it drives. Everything in this repository is
Quickshell QML you can read in a sitting; it contains no binary, downloads nothing at any point,
and runs nothing but sharpdesk-agent — and cat, to read the agent's own status file — each
invoked by absolute path with a fixed argument list and a minimal environment (see
AgentProcess.qml). The
agent is installed by you, updated independently of this plugin, and removing the plugin leaves it
untouched. The agent itself is closed source; what it is and how to check the copy you have is
below.
1. Install it — a single static binary, no package manager, no administrator rights; everything
lands under your own $HOME. The installer is a fixed, versioned file, and its digest is pinned
here so you can check it before anything runs:
curl -fsSLO https://relay.sharpdesk.app/linux/dl/install-0.7.4.sh
echo "34a88552be7dbd04327e7ae6820446ed23af83d9691eed60fb9132ca3fbc4df0 install-0.7.4.sh" | sha256sum -c && sh install-0.7.4.shinstall-0.7.4.sh never changes and installs agent 0.7.4 and nothing else — the sha256 of each
architecture's binary is written inside it, so nothing it runs depends on what the server says at
install time. Once installed, the agent keeps itself current, verifying the signature on every
update. Run in a real terminal the installer also offers to sign you in and to install the
background service; with no terminal attached it just prints those two commands instead.
2. Sign in:
sharpdesk-agent loginIt asks for your email, sends a 6-digit code from [email protected], and you type the code
back. There is no separate sign-up — the first machine you sign in creates the account, and
every machine you sign in afterwards joins it. That shared account is how the panel knows which
machines you can sharpen. SharpDesk is free; there is no licence, trial or card at any point.
3. Install as a service so hosting survives a reboot:
sharpdesk-agent installThe panel needs agent 0.7.3 or newer for the CONTROL section, and 0.4.0 or newer for status.
sharpdesk-agent --version tells you which you have; installs keep themselves current.
The installer is a fixed artifact. install-0.7.4.sh is written once and never rewritten — the
release script refuses to reuse a versioned name — so the sha256 in the command above identifies
exactly one file for good. The per-architecture sha256 of each agent binary is written inside
that file, which is what makes the check above worth doing: verify the installer and you have
transitively verified the binary it will install, without trusting whatever the server serves on
the day.
You can pin the runtime to the version you checked. Auto-update is a documented setting, not a hidden one:
sharpdesk-agent config set autoUpdate falseThat holds the agent at the 0.7.4 the installer put there, and sharpdesk-agent config will show
it. It stays set until you change it back — or until the config file is removed, since an absent
key reads as the default, which is on. (sharpdesk-agent host --no-auto-update does the same for a
single run, without writing anything.)
Or you can let it update and still check what it accepted. Every update is verified twice
before it is swapped in: the downloaded bytes must match the sha256 the release manifest claims,
and an Ed25519 signature must verify over version ‖ 0x00 ‖ binary against a public key compiled
into the running binary. Because the version string is inside the signed payload, a genuine old
signed build cannot be relabelled under a new version number to freeze or downgrade a machine, and
a manifest carrying only the older signature format is refused outright rather than accepted
leniently. The public half of that key is:
GjEBvCDWfOMhIPlewJxA3r8dCXsDE2ClZt5zgchWURs=
so the signatures are checkable by anyone, not only by us. The private half is held in a password manager and is never written to disk, to a command line, or to this repository — the release script pipes it straight into the signing step.
What this plugin does at runtime: runs sharpdesk-agent hosts --json, sharpen, restore,
config and config set, plus /usr/bin/cat on the agent's own status file. No shell, no network
access of its own, nothing written outside what the agent already owns.
The widget appears in the right-hand section of the bar — a monitor icon. Click it to open the panel. If a machine you expect is missing from CONTROL, it either is not signed in to the same account or cannot host a display (phones and tablets).
omarchy plugin add https://github.com/Mouxy/omarchy-sharpdesk --enableStatus — read-only, from the agent's status feed (~/.local/state/sharpdesk/status.json):
whether something is sharpening this machine, the applied resolution and scale, and where the VNC
stream is served. A feed older than 90 seconds reads as "agent not running".
Control — every machine on your account that can be sharpened. Macs and Linux boxes; phones and tablets run the SharpDesk controller but cannot host a display, so they are not listed, and neither is this machine.
Pick a Size and a Mode, then use the buttons on a machine's row:
- Sharpen — resize that machine. Match window uses the size of whatever window is focused here, measured once.
- Restore — hand its displays back.
Size and Mode apply to the next action and reset to Match window and Extend each time the panel opens, so a size chosen yesterday never silently applies to a machine you sharpen today.
This section keeps working when this machine's own agent service is not running: it talks to your
account, not to the local agent. What it needs is a signed-in box — if this one is not enrolled,
it says so and points you at sharpdesk-agent login.
The panel is deliberately stateless. It offers the two verbs and reports what the far machine said back; it never claims to know whether a session is currently yours, because a one-shot command keeps no such record — a session can end from the other side, expire at the eight-hour cap, or be taken over by another device.
Settings — a GUI over sharpdesk-agent config, which remains the only writer. The agent reads
these per session, so nothing restarts:
- Display —
Session(a virtual display only while sharpening, the default) orAlways(a parked display capture tools can always find). - VNC —
OfforAutofor the agent-managed wayvnc, with 5900/5901 presets. Any other port is set withsharpdesk-agent config set wayvncPort <port>and shown here. - Hooks — configured / not set only.
onSessionStart,onModeChangeandonSessionEndhold arbitrary shell commands, so the panel never reads or displays the command text.
Every setting is disabled — with a line saying why — while the agent is unreachable or has not yet reported its configuration.
omarchy plugin remove sharpdesk.mouxyOr omarchy plugin disable sharpdesk.mouxy to keep it installed but off the bar. Removing the
plugin touches nothing else: the agent, your account and any running session are unaffected, and
the agent's own settings live in ~/.config/sharpdesk/, not here. To remove the agent too, see
the agent guide.
To iterate against a box that already has it installed:
./deploy.sh you@your-omarchy-boxUse that rather than copying files into ~/.config/omarchy/plugins/sharpdesk.mouxy/ by hand.
Omarchy reloads plugins when a visible file there changes, and that reload tears down every plugin
service — including Omarchy's own lock service. On a locked session the replacement asks for
lock surfaces before it holds a valid Wayland lock, and Quickshell aborts, stranding the session.
deploy.sh refuses while the session is locked, fails closed if it cannot tell, stages in a hidden
directory Omarchy ignores, and promotes the whole plugin in a single rename.
Validate manifest changes with:
omarchy plugin validate .Questions, bugs or ideas: [email protected], or open an issue.
MIT — see LICENSE.
