2024-12-16 12:55:24 +00:00
|
|
|
{ x, lib, config, ... }:
|
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"; };
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|