diff --git a/home/terminal/emulators/konsole.nix b/home/terminal/emulators/konsole.nix index fe26a6a..6847b16 100644 --- a/home/terminal/emulators/konsole.nix +++ b/home/terminal/emulators/konsole.nix @@ -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; + }; }; }