diff --git a/home/programs/ghostty/default.nix b/home/programs/ghostty/default.nix new file mode 100644 index 0000000..c56957e --- /dev/null +++ b/home/programs/ghostty/default.nix @@ -0,0 +1,22 @@ +{ + programs.ghostty = { + enable = true; + installVimSyntax = true; + enableZshIntegration = true; + settings = { + window-padding-x = 10; + window-padding-y = 10; + keybind = [ + "ctrl+j=goto_split:left" + "ctrl+i=goto_split:up" + "ctrl+k=goto_split:down" + "ctrl+l=goto_split:right" + "shift+ctrl+j=new_split:left" + "shift+ctrl+i=new_split:up" + "shift+ctrl+k=new_split:down" + "shift+ctrl+l=new_split:right" + "shift+ctrl+tab=new_tab" + ]; + }; + }; +} diff --git a/home/system/hyprland/bindings.nix b/home/system/hyprland/bindings.nix index f56b765..c112b7d 100644 --- a/home/system/hyprland/bindings.nix +++ b/home/system/hyprland/bindings.nix @@ -2,7 +2,7 @@ wayland.windowManager.hyprland.settings = { bind = [ - "$mod,RETURN, exec, uwsm app -- ${pkgs.kitty}/bin/kitty" # Kitty (terminal) + "$mod,RETURN, exec, uwsm app -- ${pkgs.ghostty}/bin/ghostty" # Ghostty (terminal) "$mod,E, exec, uwsm app -- ${pkgs.xfce.thunar}/bin/thunar" # Thunar "$mod,B, exec, uwsm app -- ${pkgs.brave}/bin/brave" # Brave Browser "$mod,K, exec, uwsm app -- ${pkgs.proton-pass}/bin/proton-pass" # Proton Pass diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index c212776..521d934 100644 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -10,7 +10,8 @@ # Programs ../../home/programs/kitty - ../../home/programs/alacritty + # ../../home/programs/alacritty + ../../home/programs/ghostty ../../home/programs/nvf ../../home/programs/shell ../../home/programs/fetch