konsole: import colorscheme from modules
This commit is contained in:
parent
685974da54
commit
70a00c13a6
1 changed files with 10 additions and 1 deletions
|
@ -2,9 +2,13 @@
|
|||
lib,
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.konsole = {
|
||||
programs.konsole = let
|
||||
inherit (config.theme) scheme;
|
||||
schemeData = inputs.basix.schemeData.base16.${scheme};
|
||||
in {
|
||||
enable = true;
|
||||
defaultProfile = "default";
|
||||
profiles = {
|
||||
|
@ -13,6 +17,7 @@
|
|||
name = "monospace";
|
||||
size = 14;
|
||||
};
|
||||
colorScheme = schemeData.name;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -25,5 +30,9 @@
|
|||
"ShowMenuBarByDefault" = "false";
|
||||
};
|
||||
};
|
||||
|
||||
customColorSchemes = {
|
||||
"${schemeData.name}" = pkgs.lib.mkKonsoleColorScheme schemeData;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue