mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-05 08:31:03 +01:00
gtk4: don't enable theme by default
This is not officially supported and causes issues in some cases. Also adds a warning to the option.
This commit is contained in:
parent
86ff0ef506
commit
ae9f38e889
10 changed files with 35 additions and 20 deletions
|
|
@ -45,9 +45,17 @@ in
|
|||
packageExample = "pkgs.gnome.gnome-themes-extra";
|
||||
}
|
||||
);
|
||||
default = cfg.theme;
|
||||
defaultText = literalExpression "config.gtk.theme";
|
||||
description = "Theme for GTK 4 applications.";
|
||||
default = if lib.versionOlder config.home.stateVersion "26.05" then cfg.theme else null;
|
||||
defaultText = literalExpression ''if lib.versionOlder config.home.stateVersion "26.05" then cfg.theme else null'';
|
||||
description = ''
|
||||
Theme for GTK 4 applications.
|
||||
|
||||
Warning: This is not officially supported and applied using a workaround.
|
||||
It may cause issues with some apps.
|
||||
|
||||
For context, see [Please don’t theme our apps](https://stopthemingmy.app/)
|
||||
and [Restyling apps at scale](https://blogs.gnome.org/tbernard/2018/10/15/restyling-apps-at-scale/).
|
||||
'';
|
||||
};
|
||||
|
||||
iconTheme = mkOption {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue