feat(yazi): Remove Yazi

This commit is contained in:
punkfairie 2024-10-20 13:30:57 -07:00
parent 6c4555e06d
commit 31ec365509
Signed by: punkfairie
GPG key ID: 01823C057725C266
3 changed files with 2 additions and 29 deletions

View file

@ -360,18 +360,6 @@
"url": "https://github.com/rose-pine/waybar/archive/1b118bd60d1c5778dc8a82b919069eeb8a834604.tar.gz",
"hash": "0yl8yjcdkq9442g31zl9ckkh99p9hnmq60ap3f91q7bwx5x5rg66"
},
"yazi": {
"type": "Git",
"repository": {
"type": "GitHub",
"owner": "catppuccin",
"repo": "yazi"
},
"branch": "main",
"revision": "37dec9bf1f7e52e0d593c225827b9dbc71ce504c",
"url": "https://github.com/catppuccin/yazi/archive/37dec9bf1f7e52e0d593c225827b9dbc71ce504c.tar.gz",
"hash": "1dfakxd5fd1z17bf2l4a48wmal9pk9ybc0zxwnmvjaqj2gd3k6m0"
},
"zathura": {
"type": "Git",
"repository": {
@ -398,4 +386,5 @@
}
},
"version": 3
}
}

View file

@ -25,7 +25,6 @@
./sway.nix
./tmux.nix
./waybar.nix
./yazi.nix
./zathura.nix
./zellij.nix
./zsh-syntax-highlighting.nix

View file

@ -1,15 +0,0 @@
{ config, lib, ... }:
let
inherit (config.catppuccin) sources;
cfg = config.programs.yazi.catppuccin;
enable = cfg.enable && config.programs.yazi.enable;
in
{
options.programs.yazi.catppuccin = lib.ctp.mkCatppuccinOpt { name = "yazi"; };
config = lib.mkIf enable {
programs.yazi.theme = lib.importTOML "${sources.yazi}/themes/${cfg.flavor}.toml";
xdg.configFile."yazi/Catppuccin-${cfg.flavor}.tmTheme".source = "${sources.bat}/themes/Catppuccin ${lib.ctp.mkUpper cfg.flavor}.tmTheme";
};
}