Repository navigation
Fix bitwarden floating window config on other chromium browsers - #7628
Jacob-Roberts wants to merge 4 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Extends Chromium browser and Bitwarden window matching to additional browser identities.
Changes:
- Recognizes Brave’s alternate window class.
- Expands Bitwarden extension matching across Chromium-based browsers.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
default/hypr/apps/browser.lua |
Adds bare Brave window-class matching. |
default/hypr/apps/bitwarden.lua |
Broadens Bitwarden extension window matching. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Reviewed on a disposable VM running Hyprland 0.56.2 with this branch loaded as The change is right and it works. Hyprland matches
In Two of the browsers in the alternation are probably still uncovered, because the list was copied from
Both are one command to confirm if you have those browsers: open the pop-out and run Two pre-existing limits this PR inherits rather than introduces, noted so they are not lost: the rule only matches the Tests: A second reviewer (codex at xhigh) went over the same diff and agreed on the full-match semantics and that the Brave broadening is safe — its independence is not currently guaranteed, since it can read this machine. It contributed the Edge extension-id point and the non-default-profile limitation on its own. Nothing was pushed to your branch. This is waiting on the maintainer, with one thing worth flagging there: #6449 rewrites the same rule in |
|
@omarchybot re-review |
|
Re-reviewed at The commit does two things, and both hold up: it replaces the Edge arm ( One window opened per candidate class, read back from
Dropping the tag also drops Narrowing Three gaps remain, none of them introduced by this commit:
Second opinion: codex at xhigh reviewed the same commit. It contributed the Nothing was pushed to your branch. No automated test covers rule matching — This is waiting on the maintainer, who now has four open pull requests on this one rule. This commit makes #6449 redundant: its property block is byte-identical here. #8236 and #8341 take the other approach, matching |
|
Automated duplication check: this pull request looks similar to #8341, which covers the same Bitwarden browser match. I keep that one open and close this one to consolidate review. If you feel this is the wrong decision, please open the PR again with a note on the difference. |
This config will make the floating window configuration work on other non-default chrome browsers.
Tested on all chromium based browsers (including ms edge)
Before
After
(Screenshot tool intentionally redacted the contents, but it is working)
Note
This only fixes it for chromium based browsers. The Firefox selector doesn't work because the class is just "firefox". Will leave as an opportunity for someone else to fix.