Skip to content
Edith

Docs

Command reference

ed app desktop

Places, moves and removes widgets on the desktop. Every Home widget an extension provides can sit on the desktop too, behind your windows and on every Space.

Output
ed app desktop [status|ls|widgets|add <widget>|rm <id>|resize <id>|on|off|lock|unlock|style <glass|solid>|clear] [--size small|medium|large] [--yes] [--json]
Name Type / values Default What it does
status, ls word yes Print whether desktop widgets are on, locked, their style and every placed widget.
widgets word List the widgets you can place, with whether their extension is running.
add <widget> word Place a widget, such as music, calendar, clocks or an extension id, in the first free spot from the top right.
rm <id> word Remove the placed widget with that id.
resize <id> word Change a placed widget's size; needs --size.
on, off word Show or hide every desktop widget. Placements are kept.
lock, unlock word Unlock to drag widgets by their bar, pick a size or remove them; lock to keep them in place.
style <glass|solid> word Glass draws widgets over a blurred desktop; solid uses the app theme's cards.
clear word Remove every desktop widget. Previews until --yes.
--size <size> small, medium, large medium With add or resize, the widget width. Small widgets use the dense layout.
--yes flag off Apply clear.
--json flag off Emit JSON on stdout.

Positions are stored per display, in points from the top left of its usable area, and are kept inside the display when it shrinks. A widget whose extension is off shows how to turn it on.

--json shape for status:

JSON
{  "enabled": true,  "locked": true,  "style": "glass",  "widgets": [    {      "id": "music",      "widget": "music",      "title": "Now playing",      "size": "medium",      "x": 1076,      "y": 24,      "display": "37D8832A-2D66-02CA-B9F7-8F30A301B230",      "available": true    }  ]}

Examples:

Output
ed app desktop widgetsed app desktop add music --size smalled app desktop add calendared app desktop unlocked app desktop style solided app desktop clear --yes

Where to go next