diff --git a/hosts/common.nix b/hosts/common.nix index 17b8626..5a9bef2 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -42,5 +42,5 @@ in { inherit wrapped-helix fish; }; # helix as the only editor, a reasonable choice. - environment.sessionVariables.EDITOR = "hx"; + environment.sessionVariables.EDITOR = pkgs.lib.getExe' wrapped-helix "hx"; } diff --git a/modules/programs/gui/foot.nix b/modules/programs/gui/foot.nix index f1a03fa..fff3d61 100644 --- a/modules/programs/gui/foot.nix +++ b/modules/programs/gui/foot.nix @@ -8,7 +8,7 @@ inherit (config.meta.mainUser) username; cfg = config.modules.system.programs.terminals.foot; - theme-colors = config.modules.style.colorScheme.colors; + colours = config.modules.style.colorScheme.colors; foot-config = pkgs.writeText "foot.ini" (lib.generators.toINI {} { main = { @@ -90,39 +90,27 @@ select-word = "BTN_LEFT-2"; select-word-whitespace = "Control+BTN_LEFT-2"; }; - - # 16=fab387 - # 17=f5e0dc - colors = { - foreground = theme-colors.base05; # Text - background = theme-colors.base00; # Base - regular0 = theme-colors.base03; # Surface 1 - regular1 = theme-colors.base08; # red - regular2 = theme-colors.base0B; # green - regular3 = theme-colors.base0A; # yellow - regular4 = theme-colors.base0D; # blue - regular5 = "f5c2e7"; # pink - regular6 = "94e2d5"; # teal - regular7 = "bac2de"; # Subtext 1 + background = colours.base00; # base color + foreground = colours.base05; # text color - bright0 = theme-colors.Surface2; # Surface 2 - bright1 = theme-colors.base08; # red - bright2 = theme-colors.base0B; # green - bright3 = theme-colors.yellow; # yellow - bright4 = "89b4fa"; # blue - bright5 = "f5c2e7"; # pink - bright6 = "94e2d5"; # teal - bright7 = "a6adc8"; # Subtext 0 + regular0 = colours.base03; # black + regular1 = colours.base08; # red + regular2 = colours.base0B; # green + regular3 = colours.base0A; # yellow + regular4 = colours.base0D; # blue + regular5 = colours.base0F; #magenta + regular6 = colours.base0C; #cyan + regular7 = colours.base06; #white - selection-foreground = "cdd6f4"; - selection-background = "414356"; - - search-box-no-match = "11111b f38ba8"; - search-box-match = "cdd6f4 313244"; - - jump-labels = "11111b fab387"; - urls = "89b4fa"; + bright0 = colours.base04; # Surface 2 + bright1 = colours.base08; # red + bright2 = colours.base0B; # green + bright3 = colours.base0A; # yellow + bright4 = colours.base0D; # blue + bright5 = colours.base0F; # pink + bright6 = colours.base0C; # teal + bright7 = colours.base07; # Subtext 0 alpha = 1.0; }; diff --git a/modules/style/palettes/catppuccin-mocha.nix b/modules/style/palettes/catppuccin-mocha.nix index 6c2d23d..cca0510 100644 --- a/modules/style/palettes/catppuccin-mocha.nix +++ b/modules/style/palettes/catppuccin-mocha.nix @@ -14,8 +14,8 @@ base07 = "#b4befe"; # lavender base08 = "#f38ba8"; # red base09 = "#fab387"; # peach - base0A = "#f9e2af"; # yellow - base0B = "#a6e3a1"; # green + base0A = "#a6e3a1"; # yellow + base0B = "#94e2d5"; # green base0C = "#a6e3a1"; # teal base0D = "#89b4fa"; # blue base0E = "#cba6f7"; # mauve