{ pkgs, lib, config, ... }: with lib; let cfg = config.eboskma.programs.foot; in { options.eboskma.programs.foot = { enable = mkEnableOption "activate foot"; server = mkEnableOption "enable foot server"; }; config = mkIf cfg.enable { programs.foot = { enable = true; server.enable = cfg.server; settings = { main = { font = "Iosevka Nerd Font:size=10, Twitter Color Emoji:size=8"; dpi-aware = "yes"; }; scrollback = { lines = 100000; }; mouse = { hide-when-typing = "yes"; }; cursor = { color = "282a36 f8f8f2"; }; colors = { alpha = 0.9; # Dracula # foreground = "f8f8f2"; # background = "282a36"; # regular0 = "000000"; # black # regular1 = "ff5555"; # red # regular2 = "50fa7b"; # green # regular3 = "f1fa8c"; # yellow # regular4 = "bd93f9"; # blue # regular5 = "ff79c6"; # magenta # regular6 = "8be9fd"; # cyan # regular7 = "bfbfbf"; # white # bright0 = "4d4d4d"; # bright black # bright1 = "ff6e67"; # bright red # bright2 = "5af78e"; # bright green # bright3 = "f4f99d"; # bright yellow # bright4 = "caa9fa"; # bright blue # bright5 = "ff92d0"; # bright magenta # bright6 = "9aedfe"; # bright cyan # bright7 = "e6e6e6"; # bright white # Catppuccin Mocha foreground = "cdd6f4"; # Text background = "1e1e2e"; # Base regular0 = "45475a"; # Surface 1 regular1 = "f38ba8"; # red regular2 = "a6e3a1"; # green regular3 = "f9e2af"; # yellow regular4 = "89b4fa"; # blue regular5 = "f5c2e7"; # pink regular6 = "94e2d5"; # teal regular7 = "bac2de"; # Subtext 1 bright0 = "585b70"; # Surface 2 bright1 = "f38ba8"; # red bright2 = "a6e3a1"; # green bright3 = "f9e2af"; # yellow bright4 = "89b4fa"; # blue bright5 = "f5c2e7"; # pink bright6 = "94e2d5"; # teal bright7 = "a6adc8"; # Subtext 0 }; }; }; home.packages = [ pkgs.chafa # Enable displaying images through img2sixel ]; }; }