libkookie: kitty: add font size configuration option

wip/yesman
Katharina Fey 3 years ago
parent b9f9cf2b58
commit c0a541a38e
Signed by: kookie
GPG Key ID: F972AEEA2887D547
  1. 4
      infra/libkookie/modules/workstation/ui/kitty/config.nix
  2. 9
      infra/libkookie/modules/workstation/ui/kitty/default.nix

@ -7,7 +7,9 @@ let
(mapAttrsToList (k: v: "${k} ${v}") cfg.colors));
in
''
font_size 12
font_size ${builtins.toString cfg.fontSize}
disable_ligatures always
open_url_modifiers ctrl+shift
open_url_with default

@ -48,6 +48,15 @@ with lib;
Specify the shape of the cursor used for kitty.
'';
};
fontSize = mkOption {
type = types.int;
default = 12;
description = ''
Set the font size to use in kitty. This will generate a
`font_size` expression.
'';
};
colors = mkOption {
type = types.attrs;

Loading…
Cancel
Save