From c030b7ed22185e0a2b062c8f5b9b35e2c9ed4d0f Mon Sep 17 00:00:00 2001 From: sgoudham Date: Wed, 13 Mar 2024 04:00:01 +0000 Subject: [PATCH] feat: use new bat --- home/apps/fish.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/home/apps/fish.nix b/home/apps/fish.nix index 8e4c8b0..00d5c46 100644 --- a/home/apps/fish.nix +++ b/home/apps/fish.nix @@ -14,22 +14,22 @@ in { themepkg = pkgs.fetchFromGitHub { owner = "catppuccin"; repo = "bat"; - rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1"; - sha256 = "sha256-6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw="; + rev = "main"; + sha256 = "sha256-PWX8LR3xTgNBUpk+xBIGpEBQCNJHre8cRX4OTSWkZvs="; }; in { enable = true; - config.theme = "Catppuccin-latte"; + config.theme = "Catppuccin Mocha"; themes = let - getTheme = flavour: "Catppuccin-${flavour}.tmTheme"; + getTheme = flavour: "/themes/Catppuccin ${flavour}.tmTheme"; in { - Catppuccin-latte = { + "Catppuccin Latte" = { src = themepkg; - file = getTheme "latte"; + file = getTheme "Latte"; }; - Catppuccin-mocha = { + "Catppuccin Mocha" = { src = themepkg; - file = getTheme "mocha"; + file = getTheme "Mocha"; }; }; };