From c56f9812ab1294c529db0c0355f447ffa06e0f04 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Tue, 1 Oct 2024 17:54:04 +0200 Subject: [PATCH] foot: init config --- home/profiles/vamos/default.nix | 3 ++- home/terminal/emulators/foot.nix | 40 ++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 home/terminal/emulators/foot.nix diff --git a/home/profiles/vamos/default.nix b/home/profiles/vamos/default.nix index 5ddb85e..f190c92 100644 --- a/home/profiles/vamos/default.nix +++ b/home/profiles/vamos/default.nix @@ -8,7 +8,8 @@ ../../services/udiskie.nix ../../terminal/emulators/konsole.nix - ../../terminal/emulators/wezterm.nix + # ../../terminal/emulators/wezterm.nix + # ../../terminal/emulators/foot.nix inputs.plasma-manager.homeManagerModules.plasma-manager ]; diff --git a/home/terminal/emulators/foot.nix b/home/terminal/emulators/foot.nix new file mode 100644 index 0000000..cec4b0d --- /dev/null +++ b/home/terminal/emulators/foot.nix @@ -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; + }; + }; + }; +}