aboutsummaryrefslogtreecommitdiff
path: root/home/ghostty.nix
blob: fea0c7b14c6aec0b51afc16fd982874ffcb2e36e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{ ... }:

{
  programs.ghostty = {
    enable = true;

    settings = {
      theme = "Catppuccin Mocha";
      #background = "#282a36";
      background-opacity = 0.90;

      window-vsync = true;

      title = "Ghostty";
      class = "ghostty";

      shell-integration = "zsh";

      quick-terminal-position = "top";
      quick-terminal-autohide = false;

      font-family = "LythMono Nerd Font";
      font-size = 16;

      cursor-style = "block";
      cursor-style-blink = false;
      cursor-opacity = 0.90;
      mouse-hide-while-typing = true;
      shell-integration-features = "no-cursor";

      #gtk-titlebar = false;
      window-decoration = "server";
      confirm-close-surface = false;

      window-theme = "ghostty";

      window-padding-x = 10;
      window-padding-y = 10;
      window-padding-balance = true;

      keybind = [
        "alt+shift+r=reload_config"
        "ctrl+a=toggle_quick_terminal"
        "ctrl+shift+s=new_tab"
      ];
    };
  };
}