Run web apps on Helium, on one shared profile #29
Loading…
Reference in a new issue
No description provided.
Delete branch "helium-webapps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
fjordxy-pwadidn't work: it launched LibreWolf with--class, but the request goes to the running browser, so web app windows came up with app-idlibrewolf. niri couldn't tell them apart from the browser.What changes
--app=windows on one profile shared by all web apps (~/.local/share/fjordxy/webapps). Chromium gives each window an app-id built from its URL even when the browser is already running:chrome-<host>_<path>-Default,/as_, query dropped.fjordxy-pwa setup(pwa setupin the launcher). That command lets Helium's onboarding run, because the Web Store installs nothing until the user agrees to Helium's services there.nix/helium.nixpackages Helium from the release tarball, linked against the machine's nixpkgs. The AppImage loses GPU acceleration: its glibc is older than the one Mesa needs.dev/update-heliumbumps the version and hashes, then builds.fjordxy-pwarewritten in Python, withadd,remove,list,openandsetup. Entries runfjordxy-pwa open <slug>instead of naming a store path, which used to break after garbage collection. The URL stays out ofExec=, where%has a special meaning. Icons come from the site's manifest, thenapple-touch-icon, then the favicon. A second entry with the same app-id is refused. Old LibreWolf entries are marked inlistand can be replaced.APPS.me.md("Web apps") andPLAN.md.Tested on niri (Helium 0.21.1.1)
StartupWMClassmatches the real app-id, including for a path containing%20.libgallium).add, the duplicate checks,listandremovework. Entries passdesktop-file-validate.--app=window.nix flake checkpasses for x86_64-linux only. aarch64-linux was neither built nor checked.Not in this PR
programs.fjordxy.appsentry plus a rebuild (APPS.me.md lists this under open questions).programs.fjordxy.packagefor every user, whether they use web apps or not.🤖 Generated with Claude Code
af71333111to6451d324b4