firefox: improve option descriptions for extensions (#998)
- 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>
This commit is contained in:
parent
cca176fce1
commit
0c4ec73df6
1 changed files with 2 additions and 7 deletions
|
|
@ -61,14 +61,9 @@ in
|
|||
default = [ ];
|
||||
};
|
||||
|
||||
colorTheme.enable = config.lib.stylix.mkEnableTarget ''
|
||||
[Firefox Color](https://color.firefox.com/) theme
|
||||
'' false;
|
||||
colorTheme.enable = lib.mkEnableOption "[Firefox Color](https://color.firefox.com/) on ${target.name}";
|
||||
|
||||
firefoxGnomeTheme.enable = config.lib.stylix.mkEnableTarget ''
|
||||
[Firefox GNOME
|
||||
theme](https://github.com/rafaelmardojai/firefox-gnome-theme)
|
||||
'' false;
|
||||
firefoxGnomeTheme.enable = lib.mkEnableOption "[Firefox GNOME theme](https://github.com/rafaelmardojai/firefox-gnome-theme) on ${target.name}";
|
||||
}
|
||||
) targets
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue