Repository navigation
ScriptWidget for Linux 0.1.4 (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.3:
- The management window lists My widgets, Templates, Components and APIs in the sidebar, as on Windows. Before, the three groups were stacked on one Templates page.
- 21 templates fit the small size. Templates that had one layout, made for medium or large, now have a small one; the five large dashboards also have a medium one.
- Readable examples. Every bundled example is formatted, one element a line, and commented for a reader who is new to ScriptWidget. None draws anything different.
- Text Year Days Left counted to 31 January of next year, 31 days too many. Fixed.
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.
What it does:
- Small, medium, large and extra-large widgets on the desktop layer, below your windows; they refresh on a schedule, react to clicks on buttons, toggles and links, and animated GIFs move
- Right-click a widget for its menu: change its size, edit it, refresh it, remove it, or move widgets around
- A plugin for the Omarchy shell that shows the widgets and adds an entry to the bar
- A management window with your widgets, the bundled templates, component and API examples, and a code editor with a live preview
- A command line,
scriptwidget, to check, run, draw, pack and place widgets .swtimport and export, to move a widget between devices- English and Simplified Chinese
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 archives are not signed. Check them against the SHA-256 values below.
This is a preview:
$storage,$file,fetch,$http,$xml,$dataSource,$weather,$deviceand$systemwork. Health, calendar, location, music and the other device data APIs are not implemented on Linux and report[unsupported_platform]. Platform support lists every API and component by system.- Tested on one machine: an aarch64 Omarchy 4.5 virtual machine. Checked there with this version: installing over 0.1.3, the four pages of the management window (opened with
--pageand looked at; the sidebar was not clicked with the pointer), and that the desktop widgets are still there with no shell crash. Checked there with earlier versions: the widget menu, arrange mode, display scales 1, 1.5 and 2, a second (virtual) display, a light and a dark theme, a suspend and resume cycle in the kernel's test mode, composing Chinese with fcitx5 pinyin, and a restart of the machine. - 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; it has not been run on a desktop. No x86_64 archive has been run on an x86_64 computer.
- The new small and medium template layouts were looked at as pictures drawn by the Linux painter; they were not drawn on an Apple, Android or Windows system.
- On the APIs page, the console, device, file and scheme examples show "#UI Not Found#": they call an API and draw nothing.
- Not yet tried: a real GPU and real sleep.
- 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.
See ScriptWidget for Linux, what was tested and what is left.
| File | SHA-256 |
|---|---|
scriptwidget-0.1.4-linux-x86_64.tar.gz |
c015be2d22afd6cf6300fb5daac7c07d4d260e30f3bc643a6aff65721dd71af4 |
scriptwidget-0.1.4-linux-aarch64.tar.gz |
754343eeedbda87559b4fa9b1315e939cec3d3570df12d5658067c0feb43f319 |

