31 lines
739 B
Nix
31 lines
739 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: {
|
|
home.sessionVariables.TERMINAL = "${pkgs.kitty}/bin/kitty";
|
|
home.packages = [
|
|
(pkgs.runCommandLocal "fake-gnome-terminal" {} ''
|
|
mkdir -p $out/bin
|
|
ln -s ${config.home.sessionVariables.TERMINAL} $out/bin/gnome-terminal
|
|
'')
|
|
];
|
|
programs.kitty = {
|
|
enable = true;
|
|
keybindings = {
|
|
"ctrl+plus" = "change_font_size all +1.0";
|
|
"ctrl+minus" = "change_font_size all -1.0";
|
|
};
|
|
theme = "Catppuccin-Latte";
|
|
settings = {
|
|
linux_display_server = "wayland"; # Causes ugly decorations
|
|
hide_window_decorations = true;
|
|
window_margin_width = 0;
|
|
strip_trailing_spaces = "always";
|
|
|
|
font_size = "10.5";
|
|
|
|
cursor = "#1e66f5";
|
|
};
|
|
};
|
|
}
|