terminal: revert to kitty, since some fonts act weird on ghostty
This commit is contained in:
parent
e515aae340
commit
595b997e3f
4 changed files with 29 additions and 31 deletions
|
|
@ -4,9 +4,7 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
catppuccin.kitty.enable = true;
|
||||
|
||||
home.sessionVariables.TERMINAL = "kitty";
|
||||
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
font = {
|
||||
|
|
@ -21,17 +19,21 @@
|
|||
};
|
||||
};
|
||||
|
||||
catppuccin.ghostty.enable = true;
|
||||
programs.ghostty = {
|
||||
enableFishIntegration = true;
|
||||
installVimSyntax = true;
|
||||
|
||||
settings = {
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
# catppuccin.ghostty.enable = true;
|
||||
# programs.ghostty = {
|
||||
# enable = true;
|
||||
# enableFishIntegration = true;
|
||||
# installVimSyntax = true;
|
||||
# settings = {
|
||||
# font-family = "FiraCode Nerd Font";
|
||||
# font-size = 15;
|
||||
# font-codepoint-map = "U+E000-U+E00A,U+E0A0-U+E0A3,U+E0B0-U+E0C8,U+E0CA,U+E0CC-U+E0D7,U+E200-U+E2A9,U+E300-U+E3E3,U+E5FA-U+E6B7,U+E700-U+E8EF,U+EA60-U+EC1E,U+ED00-U+F2FF,U+EE00-U+EE0B,U+F300-U+F381,U+F400-U+F533,U+F0001-U+F1AF0=Symbols Nerd Font";
|
||||
# background-opacity = 0.9;
|
||||
# clipboard-paste-protection = true;
|
||||
# confirm-close-surface = false;
|
||||
# mouse-scroll-multiplier = 0.3;
|
||||
# };
|
||||
# };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,23 +1,19 @@
|
|||
{
|
||||
|
||||
flake.modules.nixos.base =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.variables = {
|
||||
# Enable icons in tooling since we have nerdfonts.
|
||||
LOG_ICONS = "true";
|
||||
};
|
||||
fonts = {
|
||||
enableDefaultPackages = true;
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
font-awesome
|
||||
powerline-fonts
|
||||
powerline-symbols
|
||||
nerd-fonts.code-new-roman
|
||||
packages = with pkgs; [
|
||||
nerd-fonts.fira-code
|
||||
nerd-fonts.symbols-only
|
||||
nerd-fonts.jetbrains-mono
|
||||
fira
|
||||
nerd-fonts.symbols-only
|
||||
];
|
||||
|
||||
fontconfig = {
|
||||
useEmbeddedBitmaps = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -320,7 +320,7 @@
|
|||
"Mod+Shift+E".action = actions.quit;
|
||||
"Ctrl+Alt+Delete".action = actions.quit;
|
||||
|
||||
"Mod+Return".action.spawn = "${lib.getExe pkgs.kitty}";
|
||||
"Mod+Return".action.spawn = "${lib.getExe config.programs.kitty.package}";
|
||||
|
||||
"Mod+Escape" = {
|
||||
allow-inhibiting = false;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
clock24 = true;
|
||||
newSession = true;
|
||||
keyMode = "vi";
|
||||
terminal = "ghostty";
|
||||
terminal = "kitty";
|
||||
extraConfig = ''
|
||||
set -g mouse on
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue