diff --git a/home/default.nix b/home/default.nix index 3d31e56..a24ff5c 100644 --- a/home/default.nix +++ b/home/default.nix @@ -11,7 +11,6 @@ in ./modules ./direnv.nix - ./config/kitty ./config/ideavim ./secrets.nix ]; diff --git a/home/programs/default.nix b/home/programs/default.nix index f742fe6..8ddae97 100644 --- a/home/programs/default.nix +++ b/home/programs/default.nix @@ -10,6 +10,7 @@ ./github.nix ./go.nix ./jellyfin.nix + ./kitty.nix ./microsoft-edge.nix ./mongodb-compass.nix ./mpv.nix diff --git a/home/config/kitty/default.nix b/home/programs/kitty.nix similarity index 80% rename from home/config/kitty/default.nix rename to home/programs/kitty.nix index bad7e46..40a3892 100644 --- a/home/config/kitty/default.nix +++ b/home/programs/kitty.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; - }; }; }