Default to LibreWolf, and take the browser's window rule from its package #28

Merged
arne merged 2 commits from librewolf-default into main 2026-11-06 21:36:42 +01:00
Owner

LibreWolf becomes experience.browser's default: Firefox with the telemetry and Mozilla services removed, stricter privacy defaults and uBlock Origin built in. It is Firefox underneath, so nothing that worked stops working.

The window rule follows the browser now. nix/experience.nix hardcoded appId = "^firefox$", so choosing any other browser left its windows unmatched and nothing reported it. The app-id now comes from the package's mainProgram. That is right for the Firefox family; ungoogled-chromium's windows are chromium-browser, so the option docs say to set apps.browser.appId when niri msg windows disagrees.

Also: fjordxy-pwa falls back to librewolf when $BROWSER is unset, and the comments, template and APPS.me.md are updated to match.

Checked by evaluating the ISO system: $BROWSER points at the librewolf binary, the http/https handler is librewolf.desktop (the file the package ships), and the niri rule matches ^librewolf$, which is the package's StartupWMClass. Not run in a live session.

Noise: nix fmt also re-wrapped flake.nix, nix/hm-module.nix, nix/iso.nix and nix/keybinds.nix. Those are formatting only, because main was not formatted.

After rebuilding: LibreWolf uses its own profile, so Firefox bookmarks, logins and extensions do not carry over on their own. Import them, or turn on Firefox Sync, which LibreWolf leaves off by default.

🤖 Generated with Claude Code

LibreWolf becomes `experience.browser`'s default: Firefox with the telemetry and Mozilla services removed, stricter privacy defaults and uBlock Origin built in. It is Firefox underneath, so nothing that worked stops working. **The window rule follows the browser now.** `nix/experience.nix` hardcoded `appId = "^firefox$"`, so choosing any other browser left its windows unmatched and nothing reported it. The app-id now comes from the package's `mainProgram`. That is right for the Firefox family; ungoogled-chromium's windows are `chromium-browser`, so the option docs say to set `apps.browser.appId` when `niri msg windows` disagrees. Also: `fjordxy-pwa` falls back to `librewolf` when `$BROWSER` is unset, and the comments, template and APPS.me.md are updated to match. **Checked** by evaluating the ISO system: `$BROWSER` points at the librewolf binary, the http/https handler is `librewolf.desktop` (the file the package ships), and the niri rule matches `^librewolf$`, which is the package's `StartupWMClass`. Not run in a live session. **Noise:** `nix fmt` also re-wrapped `flake.nix`, `nix/hm-module.nix`, `nix/iso.nix` and `nix/keybinds.nix`. Those are formatting only, because main was not formatted. **After rebuilding:** LibreWolf uses its own profile, so Firefox bookmarks, logins and extensions do not carry over on their own. Import them, or turn on Firefox Sync, which LibreWolf leaves off by default. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Firefox with the telemetry and Mozilla services removed, stricter privacy
defaults and uBlock Origin built in — Firefox underneath, so nothing that
worked stops working.

The app-id was hardcoded to `^firefox$`, so choosing any other browser left
its windows unmatched by the rule and nothing reported it. It now comes from
the package's mainProgram.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
arne merged commit b9ea2edf11 into main 2026-11-06 21:36:42 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bases/fjord!28
No description provided.