foot: init config
This commit is contained in:
parent
70a00c13a6
commit
c56f9812ab
2 changed files with 42 additions and 1 deletions
|
@ -8,7 +8,8 @@
|
||||||
../../services/udiskie.nix
|
../../services/udiskie.nix
|
||||||
|
|
||||||
../../terminal/emulators/konsole.nix
|
../../terminal/emulators/konsole.nix
|
||||||
../../terminal/emulators/wezterm.nix
|
# ../../terminal/emulators/wezterm.nix
|
||||||
|
# ../../terminal/emulators/foot.nix
|
||||||
|
|
||||||
inputs.plasma-manager.homeManagerModules.plasma-manager
|
inputs.plasma-manager.homeManagerModules.plasma-manager
|
||||||
];
|
];
|
||||||
|
|
40
home/terminal/emulators/foot.nix
Normal file
40
home/terminal/emulators/foot.nix
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
{
|
||||||
|
inputs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.foot = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
main = {
|
||||||
|
term = "xterm-256color";
|
||||||
|
font = "monospace:size=14";
|
||||||
|
};
|
||||||
|
colors = let
|
||||||
|
inherit (config.theme) scheme;
|
||||||
|
schemeData = inputs.basix.schemeData.base16.${scheme};
|
||||||
|
in {
|
||||||
|
background = schemeData.palette.base00;
|
||||||
|
foreground = schemeData.palette.base05;
|
||||||
|
|
||||||
|
regular0 = schemeData.palette.base01;
|
||||||
|
regular1 = schemeData.palette.base08;
|
||||||
|
regular2 = schemeData.palette.base0B;
|
||||||
|
regular3 = schemeData.palette.base0A;
|
||||||
|
regular4 = schemeData.palette.base0D;
|
||||||
|
regular5 = schemeData.palette.base0E;
|
||||||
|
regular6 = schemeData.palette.base0C;
|
||||||
|
regular7 = schemeData.palette.base06;
|
||||||
|
|
||||||
|
bright0 = schemeData.palette.base02;
|
||||||
|
bright1 = schemeData.palette.base08;
|
||||||
|
bright2 = schemeData.palette.base0B;
|
||||||
|
bright3 = schemeData.palette.base0A;
|
||||||
|
bright4 = schemeData.palette.base0D;
|
||||||
|
bright5 = schemeData.palette.base0E;
|
||||||
|
bright6 = schemeData.palette.base0C;
|
||||||
|
bright7 = schemeData.palette.base07;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue