1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-10 13:13:57 +00:00
ultima/modules/home/wm/terminals/foot/default.nix

31 lines
796 B
Nix
Raw Normal View History

2024-12-09 01:15:55 +00:00
{ x, lib, config, True, False, ... }:
2024-11-21 09:24:15 +00:00
with lib;
2024-12-09 01:15:55 +00:00
with x;
2024-11-21 09:24:15 +00:00
let cfg = config.module.wm.terminals.foot;
in {
2024-12-09 01:15:55 +00:00
options = { module.wm.terminals.foot = { enable = mkBool; }; };
2024-11-21 09:24:15 +00:00
config = mkIf cfg.enable {
programs.foot = with config.lib.stylix.colors;
True // {
server = False;
settings = {
main = {
font = lib.mkForce "JetBrainsMono Nerd Font:size=12:fontfeatures=";
pad = "10x10 center";
resize-by-cells = "yes";
letter-spacing = 0;
dpi-aware = lib.mkForce "yes";
# bold-text-in-bright = "yes";
};
cursor = {
style = "block";
color = "${base00} ${base06}";
};
mouse = { hide-when-typing = "yes"; };
};
};
};
}