summaryrefslogtreecommitdiff
path: root/home-manager/features/gui/apps/kitty.nix
blob: 8ec21bb7586f9028c99d672a26aa5640c4997ed8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  config,
  lib,
  ...
}: let
  cfg = config.features.gui.apps.kitty;
in {
  options.features.gui.apps.kitty.enable = lib.mkEnableOption "kitty";
  config = lib.mkIf cfg.enable {
    programs.kitty = {
      enable = true;
      settings = {
        confirm_os_window_close = 0;

        notify_on_cmd_finish = "invisible 20";

        # cursor_trail = 200;
        # cursor_trail_decay = "0.1 0.4";
        # cursor_trail_start_threshold = 2;
      };
    };
  };
}