dotfiles/common/users/homeModules/terminal/kitty.nix

37 lines
643 B
Nix

{ pkgs, ... }:
{
home = {
packages = with pkgs; [
kitty
];
file = {
kitty = {
recursive = true;
source = ../../../../dotfiles/kitty;
target = "./.config/kitty";
};
};
shellAliases = {
"icat" = "kitten icat";
};
};
programs = {
zsh = {
# Completion support for kitten
initExtra = ''
compdef _kitty kitten
'';
};
plasma = {
hotkeys = {
commands = {
"kitty" = {
name = "kitty";
key = "Alt+Shift+Return";
command = "kitty";
};
};
};
};
};
}