diff --git a/_sources/generated.json b/_sources/generated.json index 572cf3f..b18eb20 100644 --- a/_sources/generated.json +++ b/_sources/generated.json @@ -1,7 +1,7 @@ { "catppuccin-bat": { "cargoLocks": null, - "date": "2024-03-02", + "date": "2024-03-10", "extract": null, "name": "catppuccin-bat", "passthru": null, @@ -11,12 +11,12 @@ "fetchSubmodules": false, "leaveDotGit": false, "name": null, - "rev": "0ce3d34921ba1b544a4d82aa01352abd553d51ef", - "sha256": "sha256-PLbTLj0qhsDj+xm+OML/AQsfRQVPXLYQNEPllgKcEx4=", + "rev": "e9d92785fdf1afe0cd72d8d5ccb6902120d23f77", + "sha256": "sha256-bWVgDPaFcJK5sCStt1BvB8MTMy7o2uzLYDAKgWqRs3M=", "type": "git", "url": "https://github.com/catppuccin/bat" }, - "version": "0ce3d34921ba1b544a4d82aa01352abd553d51ef" + "version": "e9d92785fdf1afe0cd72d8d5ccb6902120d23f77" }, "catppuccin-wezterm": { "cargoLocks": null, diff --git a/_sources/generated.nix b/_sources/generated.nix index 1bb0412..72f8bbc 100644 --- a/_sources/generated.nix +++ b/_sources/generated.nix @@ -3,16 +3,16 @@ { catppuccin-bat = { pname = "catppuccin-bat"; - version = "0ce3d34921ba1b544a4d82aa01352abd553d51ef"; + version = "e9d92785fdf1afe0cd72d8d5ccb6902120d23f77"; src = fetchgit { url = "https://github.com/catppuccin/bat"; - rev = "0ce3d34921ba1b544a4d82aa01352abd553d51ef"; + rev = "e9d92785fdf1afe0cd72d8d5ccb6902120d23f77"; fetchSubmodules = false; deepClone = false; leaveDotGit = false; - sha256 = "sha256-PLbTLj0qhsDj+xm+OML/AQsfRQVPXLYQNEPllgKcEx4="; + sha256 = "sha256-bWVgDPaFcJK5sCStt1BvB8MTMy7o2uzLYDAKgWqRs3M="; }; - date = "2024-03-02"; + date = "2024-03-10"; }; catppuccin-wezterm = { pname = "catppuccin-wezterm"; diff --git a/home/apps/zsh.nix b/home/apps/zsh.nix index a3dc358..72876ff 100644 --- a/home/apps/zsh.nix +++ b/home/apps/zsh.nix @@ -40,6 +40,16 @@ crust = "#080808"; }; }; + ctpBat = pkgs.denoPlatform.mkDenoDerivation { + inherit (srcs.catppuccin-bat) pname version src; + buildPhase = '' + deno run -A ./src/main.ts --overrides '${builtins.toJSON overrides}' + ''; + installPhase = '' + mkdir -p $out + cp ./themes/* $out/ + ''; + }; ctpZshFsh = pkgs.denoPlatform.mkDenoDerivation { inherit (srcs.catppuccin-zsh-fsh) pname version src; buildPhase = '' @@ -66,20 +76,20 @@ in { enable = true; themes = { "Catppuccin Latte" = { - src = srcs.catppuccin-bat.src; - file = "themes/Catppuccin Latte.tmTheme"; + src = ctpBat; + file = "Catppuccin Latte.tmTheme"; }; "Catppuccin Frappe" = { - src = srcs.catppuccin-bat.src; - file = "themes/Catppuccin Frappe.tmTheme"; + src = ctpBat; + file = "Catppuccin Frappe.tmTheme"; }; "Catppuccin Macchiato" = { - src = srcs.catppuccin-bat.src; - file = "themes/Catppuccin Macchiato.tmTheme"; + src = ctpBat; + file = "Catppuccin Macchiato.tmTheme"; }; "Catppuccin Mocha" = { - src = srcs.catppuccin-bat.src; - file = "themes/Catppuccin Mocha.tmTheme"; + src = ctpBat; + file = "Catppuccin Mocha.tmTheme"; }; }; }; diff --git a/nvfetcher.toml b/nvfetcher.toml index a546395..40b425f 100644 --- a/nvfetcher.toml +++ b/nvfetcher.toml @@ -1,5 +1,6 @@ [catppuccin-bat] src.git = "https://github.com/catppuccin/bat" +src.branch = "feat/add-overrides" fetch.git = "https://github.com/catppuccin/bat" [catppuccin-wezterm]