aboutsummaryrefslogtreecommitdiff
path: root/modules/home/terminal/kitty.nix
blob: 35d5648b569b522209419076ea94ca72af3bb4f7 (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
{
  config,
  lib,
  ...
}:

{
  options.nx.terminal.kitty.enable = lib.mkEnableOption "Enable kitty";
  config = lib.mkIf config.nx.terminal.kitty.enable {
    programs.kitty = {
      enable = true;
      shellIntegration.enableFishIntegration = true;
      font = {
        name = "monospace";
        size = 11;
      };
      settings = {
        cursor_shape = "underline";
        cursor_blink_interval = "-1";
        cursor_stop_blinking_after = "15.0";

        background_opacity = "0.3";

        enable_audio_bell = false;
        bell_on_tab = false;

        window_border_width = "0";
        window_margin_width = "4";
        window_padding_width = "5";
      };
    };
  };
}