aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/modules/workstation/ui/kitty/config.nix
blob: a11b3d4cf26c6ca80eede95c4f79756e3b40feb1 (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
{ config, lib, ... }:

let
  cfg = config.libkookie.ui.kitty;
  colors = with lib;
    (concatMapStringsSep "\n" (a: a)
      (mapAttrsToList (k: v: "${k} ${v}") cfg.colors));
in
''
  font_size 10
  
  open_url_modifiers ctrl+shift
  open_url_with default

  term ${cfg.term}

  cursor_shape ${cfg.cursorShape}

  background_opacity 0.85

  enable_audio_bell no

  ${colors}
''