feat(yazi): Added catppuccin theme for yazi

This commit is contained in:
uttarayan21
2024-03-28 03:08:01 +05:30
parent 6b5fddde18
commit 1b458663ef
3 changed files with 12 additions and 2 deletions

View File

@@ -235,6 +235,7 @@
enable = true;
enableFishIntegration = true;
enableNushellIntegration = true;
theme = builtins.fromTOML (builtins.readFile "${pkgs.catppuccinThemes.yazi}/themes/mocha.toml");
};
bat = {
enable = true;

View File

@@ -3,11 +3,11 @@ set dotenv-load
# clean := `git diff-index --quiet --cached HEAD --`
[macos]
install:
install: local
nix run nix-darwin -- switch --flake .
[linux]
install:
install: local
sudo nixos-rebuild switch --flake .
build:
@@ -16,3 +16,6 @@ build:
home:
nix --extra-experimental-features "nix-command flakes" run home-manager/master -- switch --flake . --show-trace
local:
nix flake lock --update-input subflakes

View File

@@ -65,6 +65,12 @@ in {
rev = "be3d0ee1ba0fc26baf7a47c2aa7032b7541deb0f";
sha256 = "sha256-czvR3bVZ0NfBmuu0JixalS7B1vf1uEGSTSUVVTclKxI";
};
# https://github.com/catppuccin/yazi
yazi = mkCatppuccin {
item = "yazi";
rev = "0846aed69b2a62d29c98e100af0cf55ca729723d";
sha256 = "sha256-2T41qWMe++3Qxl9veRNHMeRI3eU4+LAueKTss02gYNk";
};
# gtk = pkgs.catppuccin-gtk.override {
# variant = "mocha";