Skip to content

Commit bb78191

Browse files
committed
gogo ghostty
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
1 parent 1acb888 commit bb78191

3 files changed

Lines changed: 25 additions & 2 deletions

File tree

home/programs/ghostty/default.nix

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
programs.ghostty = {
3+
enable = true;
4+
installVimSyntax = true;
5+
enableZshIntegration = true;
6+
settings = {
7+
window-padding-x = 10;
8+
window-padding-y = 10;
9+
keybind = [
10+
"ctrl+j=goto_split:left"
11+
"ctrl+i=goto_split:up"
12+
"ctrl+k=goto_split:down"
13+
"ctrl+l=goto_split:right"
14+
"shift+ctrl+j=new_split:left"
15+
"shift+ctrl+i=new_split:up"
16+
"shift+ctrl+k=new_split:down"
17+
"shift+ctrl+l=new_split:right"
18+
"shift+ctrl+tab=new_tab"
19+
];
20+
};
21+
};
22+
}

home/system/hyprland/bindings.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
wayland.windowManager.hyprland.settings = {
33
bind =
44
[
5-
"$mod,RETURN, exec, uwsm app -- ${pkgs.kitty}/bin/kitty" # Kitty (terminal)
5+
"$mod,RETURN, exec, uwsm app -- ${pkgs.ghostty}/bin/ghostty" # Ghostty (terminal)
66
"$mod,E, exec, uwsm app -- ${pkgs.xfce.thunar}/bin/thunar" # Thunar
77
"$mod,B, exec, uwsm app -- ${pkgs.brave}/bin/brave" # Brave Browser
88
"$mod,K, exec, uwsm app -- ${pkgs.proton-pass}/bin/proton-pass" # Proton Pass

hosts/laptop/home.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
# Programs
1212
../../home/programs/kitty
13-
../../home/programs/alacritty
13+
# ../../home/programs/alacritty
14+
../../home/programs/ghostty
1415
../../home/programs/nvf
1516
../../home/programs/shell
1617
../../home/programs/fetch

0 commit comments

Comments
 (0)