- Made the descriptions of `colorTheme.enable` and `firefoxGnomeTheme.enable` specify which Firefox derivative they apply to, to clarify that these options are specific to each derivative. - Switched from `mkEnableTarget` to `mkEnableOption`, as these options are not strictly targets: they enable additional programs. This also changes the option description slightly. - Removed the multi-line string as this was adding whitespace where it's not needed, due to the trailing newline. Link: https://github.com/danth/stylix/pull/998 Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| testbeds | ||
| hm.nix | ||
| meta.nix | ||
| README.md | ||
| userChrome.css.mustache | ||
Firefox and its derivatives
This module supports Firefox, in addition to Floorp and LibreWolf, which are Firefox derivatives.
The same implementation is shared between all of these browsers, but they don't share option values.
Important
For any theming to be applied, you need to tell this module which profiles you're using:
{ programs.firefox = { enable = true; profiles = { my-profile = { # bookmarks, extensions, search engines... }; my-friends-profile = { # bookmarks, extensions, search engines... }; }; }; stylix.targets.firefox.profileNames = [ "my-profile" "my-friends-profile" ]; }This is necessary due to a limitation of the module system: we can either detect the list of profiles, or change their configuration, but we can't do both without infinite recursion.