diff --git a/home/programs/ghostty/default.nix b/home/programs/ghostty/default.nix index ebd4690..6cc4b32 100644 --- a/home/programs/ghostty/default.nix +++ b/home/programs/ghostty/default.nix @@ -1,10 +1,15 @@ -{pkgs, ...}: let +{ + pkgs, + config, + ... +}: let cursorShaders = pkgs.fetchFromGitHub { owner = "sahaj-b"; repo = "ghostty-cursor-shaders"; rev = "06d4e90fb5410e9c4d0b3131584060adddf89406"; hash = "sha256-G/UIr1bKnxn1AcHl/4FL/jou6b7M2VeREslYVELxdmw="; }; + c = config.lib.stylix.colors; in { home.sessionVariables = { TERMINAL = "ghostty"; @@ -40,4 +45,24 @@ in { ]; }; }; + + home.file.".config/ilovetui/config.yaml".text = '' + colors: + base00: "#${c.base00}" # Background + base01: "#${c.base01}" # Lighter Background / Status Bars + base02: "#${c.base02}" # Selection Background + base03: "#${c.base03}" # Comments / Invisibles + base04: "#${c.base04}" # Dark Foreground / Status Bars + base05: "#${c.base05}" # Default Foreground + base06: "#${c.base06}" # Light Foreground + base07: "#${c.base07}" # Light Background + base08: "#${c.base08}" # Variables / Errors / Diff Deleted + base09: "#${c.base09}" # Integers / Constants / Booleans + base0a: "#${c.base0A}" # Classes / Warnings / Search Background + base0b: "#${c.base0B}" # Strings / Success / Diff Inserted + base0c: "#${c.base0C}" # Support / Regex / Escape Characters + base0d: "#${c.base0D}" # Functions / Methods / Headings / Accent + base0e: "#${c.base0E}" # Keywords / Storage / Diff Changed + base0f: "#${c.base0F}" # Embedded / Misc + ''; }