diff --git a/home/modules/hyprland/wallust-templates/foot.ini b/home/modules/hyprland/wallust-templates/foot.ini new file mode 100644 index 0000000..88d7392 --- /dev/null +++ b/home/modules/hyprland/wallust-templates/foot.ini @@ -0,0 +1,26 @@ +[colors] +alpha={{ alpha/100 }} +background={{background | strip}} +foreground={{foreground | strip}} +flash={{color2 | strip}} +flash-alpha=0.5 + +## Normal/regular colors (color palette 0-7) +regular0={{color0 | strip}} +regular1={{color1 | strip}} +regular2={{color2 | strip}} +regular3={{color3 | strip}} +regular4={{color4 | strip}} +regular5={{color5 | strip}} +regular6={{color6 | strip}} +regular7={{color7 | strip}} + +## Bright colors (color palette 8-15) +bright0={{color8 | strip}} +bright1={{color9 | strip}} +bright2={{color10 | strip}} +bright3={{color11 | strip}} +bright4={{color12 | strip}} +bright5={{color13 | strip}} +bright6={{color14 | strip}} +bright7={{color15 | strip}} diff --git a/home/programs/foot.nix b/home/programs/foot.nix new file mode 100644 index 0000000..d0c7bc9 --- /dev/null +++ b/home/programs/foot.nix @@ -0,0 +1,20 @@ +{ config, lib, ... }: +let + cfg = config.profile.home.programs.foot; +in +{ + config = lib.mkIf cfg.enable { + programs.foot = { + enable = true; + settings = { + main = { + font = "JetBrainsMono Nerd Font Mono:size=12"; + include = lib.mkIf config.profile.hyprland.enable "${config.home.homeDirectory}/.config/foot/colors.ini"; + }; + mouse = { + hide-when-typing = "yes"; + }; + }; + }; + }; +}