Skip to content

Complete native support for Helium browser#5553

Open
ahmedkall wants to merge 3 commits intobasecamp:masterfrom
ahmedkall:add-helium-support
Open

Complete native support for Helium browser#5553
ahmedkall wants to merge 3 commits intobasecamp:masterfrom
ahmedkall:add-helium-support

Conversation

@ahmedkall
Copy link
Copy Markdown

Helium (a privacy-focused Chromium fork) was already being explicitly matched by omarchy-launch-webapp and Hyprland's browser.conf window rules, but it lacked native Wayland flags and dynamic theme injection.

This PR brings it to full parity with Brave and Chromium using the exact same mechanisms:

  • Seeds ~/.config/helium-flags.conf to ensure native Wayland rendering and loads the default copy-url extension.
  • Wires up omarchy-theme-set-browser to inject the theme hex into /etc/helium/policies/managed/color.json.
  • Includes a standard migration to seed the config file for existing installs.

There are no new omarchy-install-* or omarchy-refresh-* commands added. If a user simply installs the binary, it seamlessly picks up the Omarchy aesthetic and behavior out-of-the-box.

Copilot AI review requested due to automatic review settings May 2, 2026 15:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to bring Helium (Chromium fork) to parity with existing Chromium/Brave integration by seeding Wayland/extension flags and enabling theme color injection via managed policy JSON.

Changes:

  • Add config/helium-flags.conf and a migration to seed it into ~/.config/ when missing.
  • Extend omarchy-theme-set-browser to write Helium’s BrowserThemeColor policy and refresh policy live.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
migrations/1777018591.sh Seeds ~/.config/helium-flags.conf for existing installs.
config/helium-flags.conf Adds Wayland + copy-url extension flags for Helium.
bin/omarchy-theme-set-browser Adds Helium policy write + live policy refresh.

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.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread migrations/1777018591.sh
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 2, 2026 16:22
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread migrations/1777018591.sh Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 2, 2026 20:30
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread migrations/1777018591.sh
Comment on lines +8 to +9
sudo mkdir -p /etc/helium/policies/managed
sudo chmod a+rw /etc/helium/policies/managed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants