ark/users/modules/foot/default.nix

40 lines
1.1 KiB
Nix
Raw Normal View History

2022-11-27 01:04:43 +03:00
{
config,
pkgs,
...
}: {
2022-09-12 03:32:23 +03:00
settings.terminal.name = "foot";
2022-11-27 01:04:43 +03:00
settings.terminal.binary = "${pkgs.foot}/bin/foot";
2022-09-12 03:32:23 +03:00
programs.foot = {
enable = true;
2022-11-27 01:04:43 +03:00
package = pkgs.foot;
2022-09-12 03:32:23 +03:00
server.enable = false;
settings = {
main = {
2022-10-22 01:49:09 +03:00
font = "${config.settings.font.monospace.name}:size=${toString config.settings.font.monospace.size}";
2022-09-12 03:32:23 +03:00
dpi-aware = "yes";
};
2022-10-04 02:08:44 +03:00
colors = {
foreground = "cdd6f4"; # Text
background = "1e1e2e"; # Base
regular0 = "45475a"; # Surface 1
regular1 = "f38ba8"; # red
regular2 = "a6e3a1"; # green
regular3 = "f9e2af"; # yellow
regular4 = "89b4fa"; # blue
regular5 = "f5c2e7"; # pink
regular6 = "94e2d5"; # teal
regular7 = "bac2de"; # Subtext 1
bright0 = "585b70"; # Surface 2
bright1 = "f38ba8"; # red
bright2 = "a6e3a1"; # green
bright3 = "f9e2af"; # yellow
bright4 = "89b4fa"; # blue
bright5 = "f5c2e7"; # pink
bright6 = "94e2d5"; # teal
bright7 = "a6adc8"; # Subtext 0
};
2022-09-12 03:32:23 +03:00
};
};
}