aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/modules/workstation/ui/kitty/config.nix
blob: a57ac99dcafcac2e5ad81765108a98299c7ae97c (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 12
  
  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}
''