1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-09 20:03:56 +00:00
ultima/modules/home/wm/terminals/foot/default.nix
2024-11-21 18:24:15 +09:00

31 lines
797 B
Nix

{ lib, config, True, False, ... }:
with lib;
let cfg = config.module.wm.terminals.foot;
in {
options = { module.wm.terminals.foot = { enable = mkEnableOption ""; }; };
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"; };
};
};
};
}