diff options
| author | beeb5k <beebeeb5k@gmail.com> | 2026-03-06 21:37:34 +0530 |
|---|---|---|
| committer | beeb5k <beebeeb5k@gmail.com> | 2026-03-06 21:37:34 +0530 |
| commit | 0de067092c9dd19c3352554e39de73e172f29b42 (patch) | |
| tree | 4175503766405733846687efdb29657bb322dccd /common/modules/terminal/foot.nix | |
| parent | f1de2014dcd426e015a2638222160d9d349ea4e5 (diff) | |
Add modules
Diffstat (limited to 'common/modules/terminal/foot.nix')
| -rw-r--r-- | common/modules/terminal/foot.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/common/modules/terminal/foot.nix b/common/modules/terminal/foot.nix new file mode 100644 index 0000000..a804815 --- /dev/null +++ b/common/modules/terminal/foot.nix @@ -0,0 +1,33 @@ +{ + lib, + config, +}: +let + cfg = config.beeMods.terminal; +in +{ + config = lib.mkIf cfg.foot { + programs.foot = { + enable = true; + settings = { + main = { + include = lib.optionals config.beeMods.matugen.enable [ "~/.config/foot/colors.ini" ]; + + pad = "${toString cfg.window.padding-x}x${toString cfg.window.padding-y} center"; + font = "${cfg.font.family}:size=${toString cfg.font.size}"; + + dpi-aware = "no"; + gamma-correct-blending = "yes"; + bold-text-in-bright = if cfg.font.bright_color_is_bold then "yes" else "no"; + }; + cursor = { + beam-thickness = 1; + }; + mouse = { + hide-when-typing = "yes"; + }; + key-bindings = { }; + }; + }; + }; +} |
