kitty: moved config file to programs directory
This commit is contained in:
parent
b7525b1732
commit
11203c1029
|
@ -11,7 +11,6 @@ in
|
|||
./modules
|
||||
|
||||
./direnv.nix
|
||||
./config/kitty
|
||||
./config/ideavim
|
||||
./secrets.nix
|
||||
];
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
./github.nix
|
||||
./go.nix
|
||||
./jellyfin.nix
|
||||
./kitty.nix
|
||||
./microsoft-edge.nix
|
||||
./mongodb-compass.nix
|
||||
./mpv.nix
|
||||
|
|
|
@ -4,7 +4,7 @@ let
|
|||
in
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.zsh.initExtra = ''
|
||||
programs.zsh.initExtra = /*bash*/ ''
|
||||
if [[ "$TERM" == "xterm-kitty" ]]; then
|
||||
alias ssh="kitty +kitten ssh"
|
||||
fi
|
||||
|
@ -25,16 +25,18 @@ in
|
|||
tab_bar_style = "slant";
|
||||
background_blur = 40;
|
||||
background_opacity = toString 0.90;
|
||||
cursor_blink_interval = toString 0.5;
|
||||
};
|
||||
keybindings = {
|
||||
"ctrl+a>enter" = "launch --location=hsplit --cwd=current";
|
||||
"ctrl+a>backspace" = "launch --location=vsplit --cwd=current";
|
||||
"ctrl+a>enter" = "launch --location=vsplit --cwd=current";
|
||||
"ctrl+a>backspace" = "launch --location=hsplit --cwd=current";
|
||||
"ctrl+a>h" = "neighboring_window left";
|
||||
"ctrl+a>j" = "neighboring_window down";
|
||||
"ctrl+a>k" = "neighboring_window up";
|
||||
"ctrl+a>l" = "neighboring_window right";
|
||||
"ctrl+a>t" = "new_tab_with_cwd";
|
||||
"ctrl+a>w" = "close_window";
|
||||
"ctrl+a>r" = "start_resizing_window";
|
||||
};
|
||||
font = {
|
||||
name = "JetBrainsMono Nerd Font Mono";
|
||||
|
@ -44,10 +46,5 @@ in
|
|||
globinclude kitty.d/**/*.conf
|
||||
'';
|
||||
};
|
||||
|
||||
home.file.".config/kitty" = {
|
||||
source = ./.;
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue