feat: replace ghostty with kitty

This commit is contained in:
Rasyidan Akbar F. 2026-03-25 15:22:59 +07:00
commit f7b1cc68da
3 changed files with 37 additions and 58 deletions

View file

@ -10,7 +10,7 @@
../../home/base.nix
../../home/shell/nushell.nix
./programs/aerospace
./programs/ghostty.nix
./programs/kitty.nix
];
# Darwin-specific secrets configuration

View file

@ -1,57 +0,0 @@
{ config, ... }:
{
programs.ghostty = {
enable = true;
package = null;
settings = {
theme = "gruvbox";
background-opacity = 0.9;
shell-integration = "detect";
working-directory = "home";
window-inherit-working-directory = true;
keybind = [
"super+a>n=new_window"
# Split bindings - using v and s instead of | and - for better reliability
"super+a>v=new_split:right"
"super+a>s=new_split:down"
# Navigation
"super+a>h=goto_split:left"
"super+a>j=goto_split:down"
"super+a>k=goto_split:up"
"super+a>l=goto_split:right"
# Other actions
"super+a>z=toggle_split_zoom"
"super+a>x=close_surface"
"super+a>r=reload_config"
];
};
themes.gruvbox = {
background = "282828";
foreground = "ebdbb2";
cursor-color = "ebdbb2";
cursor-text = "282828";
selection-background = "ebdbb2";
selection-foreground = "282828";
palette = [
"0=#282828"
"1=#cc241d"
"2=#98971a"
"3=#d79921"
"4=#458588"
"5=#b16286"
"6=#689d6a"
"7=#a89984"
"8=#928374"
"9=#fb4934"
"10=#b8bb26"
"11=#fabd2f"
"12=#83a598"
"13=#d3869b"
"14=#8ec07c"
"15=#ebdbb2"
];
};
};
}

View file

@ -0,0 +1,36 @@
{ config, ... }:
{
programs.kitty = {
enable = true;
settings = {
background_opacity = "0.9";
confirm_os_window_close = 0;
# Gruvbox colors
background = "#282828";
foreground = "#ebdbb2";
cursor = "#ebdbb2";
cursor_text_color = "#282828";
selection_background = "#ebdbb2";
selection_foreground = "#282828";
color0 = "#282828";
color1 = "#cc241d";
color2 = "#98971a";
color3 = "#d79921";
color4 = "#458588";
color5 = "#b16286";
color6 = "#689d6a";
color7 = "#a89984";
color8 = "#928374";
color9 = "#fb4934";
color10 = "#b8bb26";
color11 = "#fabd2f";
color12 = "#83a598";
color13 = "#d3869b";
color14 = "#8ec07c";
color15 = "#ebdbb2";
};
};
}