From 31ec365509b89b9be73a5586c0e0377fc85878d8 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sun, 20 Oct 2024 13:30:57 -0700 Subject: [PATCH] feat(yazi): Remove Yazi --- .sources/sources.json | 15 ++------------- modules/home-manager/all-modules.nix | 1 - modules/home-manager/yazi.nix | 15 --------------- 3 files changed, 2 insertions(+), 29 deletions(-) delete mode 100644 modules/home-manager/yazi.nix diff --git a/.sources/sources.json b/.sources/sources.json index 6452bf5..18e9e14 100644 --- a/.sources/sources.json +++ b/.sources/sources.json @@ -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 -} \ No newline at end of file +} + diff --git a/modules/home-manager/all-modules.nix b/modules/home-manager/all-modules.nix index dc945e9..125f3bd 100644 --- a/modules/home-manager/all-modules.nix +++ b/modules/home-manager/all-modules.nix @@ -25,7 +25,6 @@ ./sway.nix ./tmux.nix ./waybar.nix - ./yazi.nix ./zathura.nix ./zellij.nix ./zsh-syntax-highlighting.nix diff --git a/modules/home-manager/yazi.nix b/modules/home-manager/yazi.nix deleted file mode 100644 index 87bdeff..0000000 --- a/modules/home-manager/yazi.nix +++ /dev/null @@ -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"; - }; -}