Add Ungoogled Chromium template (native theme extension) using the Noctalia palette - #84
Open
venus-fire wants to merge 1 commit into
Open
Conversation
…ctalia palette Chromium has no userChrome.css, so this renders a Chrome theme extension (manifest.json with M3 colors/tints) into a stable path. Load it unpacked once from chrome://extensions; palette updates re-render the manifest in place.
13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Template
ungoogled-chromiumWhat it themes
Chromium has no
userChrome.css, so this template uses Chromium's nativetheming mechanism — a theme extension (
manifest.jsonwith M3 colors andtints). Noctalia renders the manifest into a stable path
(
$XDG_CACHE_HOME/noctalia/ungoogled-chromium/theme/manifest.json) on everypalette change; the browser loads that folder as an unpacked theme.
Colors themed: window frame, tab strip / toolbar, bookmark bar text, new tab
page background/text/link.
Because a static theme can't follow
prefers-color-scheme, the manifest usesdefault-mode tokens (the user's current Noctalia mode); switching dark/lightre-renders the manifest and a browser restart applies it.
Testing
Tested on this machine (Noctalia v5.0.0). The theme was loaded via
--load-extensionand confirmed registered as the active theme(
extensions.theme.id+packset in the profile Preferences), thenscreenshotted.
One-time manual step: load the theme folder unpacked from
chrome://extensions(Developer mode → Load unpacked), which is the standard way to install
extensions in ungoogled-chromium. After that the stable path keeps receiving
updates, so no further manual steps are needed per palette change.
Screenshots
Hooks
one-time install notice (idempotency marker:
INSTALL.txt); it downloadsnothing and touches only the template's own cache directory.
Checklist
[catalog.ungoogled-chromium]id intemplate.toml.categoryis one of:ai,audio,browser,chat,compositor,editor,gaming,launcher,system,terminal,misc.input_pathnames a file that exists in this directory.