mirror of
https://github.com/nix-community/home-manager
synced 2024-12-25 03:09:47 +01:00
gnome-terminal: add support for light/dark theme variants
This commit is contained in:
parent
52fdf5b7ec
commit
0fa19ed555
1 changed files with 7 additions and 0 deletions
|
@ -141,6 +141,12 @@ in
|
||||||
description = "Whether to show the menubar by default";
|
description = "Whether to show the menubar by default";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
themeVariant = mkOption {
|
||||||
|
default = "default";
|
||||||
|
type = types.enum [ "default" "light" "dark" ];
|
||||||
|
description = "The theme variation to request";
|
||||||
|
};
|
||||||
|
|
||||||
profile = mkOption {
|
profile = mkOption {
|
||||||
default = {};
|
default = {};
|
||||||
type = types.attrsOf profileSubModule;
|
type = types.attrsOf profileSubModule;
|
||||||
|
@ -159,6 +165,7 @@ in
|
||||||
{
|
{
|
||||||
"${dconfPath}" = {
|
"${dconfPath}" = {
|
||||||
default-show-menubar = cfg.showMenubar;
|
default-show-menubar = cfg.showMenubar;
|
||||||
|
theme-variant = cfg.themeVariant;
|
||||||
schema-version = 3;
|
schema-version = 3;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue