2023-11-07 21:52:16 -06:00
|
|
|
{
|
2024-03-26 11:51:35 -05:00
|
|
|
pkgs,
|
2023-11-12 11:19:33 -06:00
|
|
|
# font,
|
2024-03-26 11:51:35 -05:00
|
|
|
colors,
|
2023-11-07 21:52:16 -06:00
|
|
|
...
|
|
|
|
}: {
|
2024-03-26 11:51:35 -05:00
|
|
|
programs.wezterm = with colors.withHashPrefix; {
|
2023-10-05 13:43:28 -05:00
|
|
|
enable = true;
|
2023-11-12 11:19:33 -06:00
|
|
|
extraConfig = builtins.readFile ./wezterm/config.lua;
|
2024-03-26 11:51:35 -05:00
|
|
|
colorSchemes = {
|
|
|
|
catppuccin-mocha-sapphire = {
|
|
|
|
ansi = map (x: colors.withHashPrefix.${toString x}) (pkgs.lib.lists.range 0 7);
|
|
|
|
brights = map (x: colors.withHashPrefix.${toString (x + 8)}) (pkgs.lib.lists.range 0 7);
|
|
|
|
|
|
|
|
foreground = fg;
|
|
|
|
background = bg;
|
|
|
|
|
|
|
|
cursor_fg = bg;
|
|
|
|
cursor_bg = text;
|
|
|
|
cursor_border = text;
|
|
|
|
};
|
|
|
|
};
|
2023-10-05 13:43:28 -05:00
|
|
|
};
|
|
|
|
}
|