mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-09 19:23:52 +00:00
45 lines
842 B
Nix
45 lines
842 B
Nix
{
|
|
x,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
with lib;
|
|
with x;
|
|
let
|
|
cfg = config.module.wm.terminals.foot;
|
|
in
|
|
{
|
|
options = {
|
|
module.wm.terminals.foot = {
|
|
enable = mkBool;
|
|
};
|
|
};
|
|
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|