Repository navigation
ScriptWidget for Linux 0.1.5 (preview)
Preview of ScriptWidget for Linux, for Omarchy 4.5: desktop widgets written in JavaScript and JSX. It runs the same Package 2.0 widgets as the iPhone, iPad, Mac, Android and Windows apps.
New since 0.1.4:
- AI conversation. Store a provider and its API key in Settings (Anthropic, OpenAI or an OpenAI-compatible endpoint; the key goes to the system keyring, never to a file). "New with AI" makes a widget from a description; "Ask AI" in the editor opens a conversation beside the code. The reply is written out as it arrives, the result is run on this computer and checked, the changed lines are shown, and nothing changes until "Apply to the widget". From a terminal:
scriptwidget ai new "a clock",scriptwidget ai continue <name> "make the time red". - Animations play on the desktop. The
animationattribute (clock hands, swings, custom intervals) now moves, as on the other platforms; before, only GIFs moved. - Gallery and Skills. A Gallery page lists community widgets and Skills and installs them after checking every file; a Skills page turns Skills on and off, imports and exports them. Also
scriptwidget gallery …andscriptwidget skills …. - Data APIs:
$music(the playing track, through MPRIS),$notifications,$services(GitHub, with a token in the keyring), and$documentsand$photos(files and pictures you choose for each widget). - The editor has a "New file" button and asks before closing with unsaved changes. The template list leaves out templates that cannot run here.
- The interface is English only. The Simplified Chinese texts of the management window and the plugin were removed. Text that a widget draws is not affected.
A widget you already made from a template is your own copy and does not change; use the template again to get the new version.
Requires Omarchy 4.5. Download the archive for your processor, unpack it and run sh install.sh. It installs for the current user only, without root: programs in ~/.local/bin, a systemd user service, and the Omarchy plugin, enabled. sh uninstall.sh removes it and keeps your widgets. To update from an earlier version, run the install.sh of this archive, then omarchy restart shell. The AI key and the GitHub token need a Secret Service keyring (GNOME Keyring, KeePassXC) and secret-tool from libsecret.
Or as a package. This release also carries PKGBUILD and scriptwidget-bin.install: put both in an empty folder and run makepkg -si. It installs this release's archive under /usr for every user (checksums included). Then run systemctl --user enable --now scriptwidget.service and add the plugin, from the package (ln -sfn /usr/share/scriptwidget/omarchy-plugin ~/.config/omarchy/plugins/com.atomsprout.scriptwidget && omarchy plugin enable com.atomsprout.scriptwidget) or from its own repository (omarchy plugin add https://github.com/everettjf/omarchy-scriptwidget.git --enable). If you used install.sh before, run its sh uninstall.sh first; your widgets are kept. The package is not on the AUR yet. It was built and installed on the aarch64 test machine only.
The archives are not signed. Check them against the SHA-256 values below.
This is a preview:
- Tested on one machine: an aarch64 Omarchy 4.5 virtual machine. Checked there with this version: the 896 tests, installing the archive over the previous build, the widgets back on the desktop after
omarchy restart shell,scriptwidget doctor, and the management window opening; thePKGBUILDbuilt and installed with pacman, with the programs reading/usr/share/scriptwidget. Checked there on 19 November with the same code: the AI conversation, animation playback, Gallery, Skills and the data APIs. - The AI conversation was run there with a live model from an OpenAI-compatible provider (DeepSeek), in the command line and in the window. Anthropic's API has not been run with a live model. Several controls of the conversation (Retry, the version arrows, "Fix runtime error") were not clicked in the window.
- Animations were checked there under software rendering: a one-second swing changes pictures every 50 ms. Not tried on a real GPU.
$serviceswas run only against stand-ins, not with a real GitHub token.$location, calendar, contacts, reminders, health, home, alarms and maps are not available on Linux and report[unsupported_platform]. Platform support lists every API and component by system.- The aarch64 archive was built on that machine and installed there. The x86_64 archive was built on Arch Linux by the build machine and passes the tests there without a desktop; no x86_64 archive has been run on an x86_64 computer.
- The programs use the system's ICU 78. When Arch Linux moves to a newer ICU they will need a new build.
- Six display fonts that the other platforms carry are not included, because their licences are not settled; text that asks for one is drawn with Inter.
- On desktops other than Omarchy the command line and the management window work, but nothing is shown on the desktop.
| Archive | SHA-256 |
|---|---|
scriptwidget-0.1.5-linux-aarch64.tar.gz |
0e985c96e875ec502426f85603f3986854870ae851ebe0d4dcea6a249b6a4128 |
scriptwidget-0.1.5-linux-x86_64.tar.gz |
87c40bd48647da9a2abd5029c46622fb0342d164e54ab59e39a52e2e1609515c |
