whole flake: add theming support, colors for terminal and hyprland

This commit is contained in:
Charlie Root 2024-09-16 21:02:38 +02:00
commit 8a768ce6f2
3 changed files with 86 additions and 11 deletions

View file

@ -7,6 +7,7 @@
}: let
cfg = config.modules.system.programs.terminals.foot;
inherit (config.modules.other.system) username;
inherit (config.modules.style.colorScheme) colors;
inherit (lib) mkIf;
in {
@ -73,6 +74,28 @@ in {
hide-when-typing = "yes"; # not really needed since we already enable this in Hyprland.
alternate-scroll-mode = "yes";
};
colors = with colors; {
background = base00; # base color
foreground = base05; # text color
regular0 = base03; # black
regular1 = base08; # red
regular2 = base0B; # green
regular3 = base0A; # yellow
regular4 = base0D; # blue
regular5 = base0F; #magenta
regular6 = base0C; #cyan
regular7 = base06; #white
bright0 = base04; # Surface 2
bright1 = base08; # red
bright2 = base0B; # green
bright3 = base0A; # yellow
bright4 = base0D; # blue
bright5 = base0F; # pink
bright6 = base0C; # teal
bright7 = base07; # Subtext 0
};
};
};
};