foot: added config (not installed yet)
This commit is contained in:
parent
575c8b5425
commit
557e26bae5
26
home/modules/hyprland/wallust-templates/foot.ini
Normal file
26
home/modules/hyprland/wallust-templates/foot.ini
Normal file
|
@ -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}}
|
20
home/programs/foot.nix
Normal file
20
home/programs/foot.nix
Normal file
|
@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue