From 09370a33d1c7662717e0de9de158f6014296f0fd Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sun, 20 Oct 2024 11:40:36 -0700 Subject: [PATCH] feat(mpv): Remove mpv --- .sources/sources.json | 13 ------------- modules/home-manager/all-modules.nix | 1 - modules/home-manager/mpv.nix | 16 ---------------- 3 files changed, 30 deletions(-) delete mode 100644 modules/home-manager/mpv.nix diff --git a/.sources/sources.json b/.sources/sources.json index c727a49..1748553 100644 --- a/.sources/sources.json +++ b/.sources/sources.json @@ -192,18 +192,6 @@ "url": "https://github.com/rose-pine/mako/archive/07bc71ed12be3ce7d0b728eee58c5e183f78f40e.tar.gz", "hash": "0xxkj2x4nz6qkdjdfr5fddb24ab51519xnai63x62zlij0fzgdq0" }, - "mpv": { - "type": "Git", - "repository": { - "type": "GitHub", - "owner": "catppuccin", - "repo": "mpv" - }, - "branch": "main", - "revision": "7b93fb0febd0490a8ccfe3077ab7741a9b4ef44a", - "url": "https://github.com/catppuccin/mpv/archive/7b93fb0febd0490a8ccfe3077ab7741a9b4ef44a.tar.gz", - "hash": "1wzahqxqrblalkcxi4ll05vi5rhmsm3z4mk7d96rfka2c38wc5wj" - }, "nvim": { "type": "Git", "repository": { @@ -435,4 +423,3 @@ }, "version": 3 } - diff --git a/modules/home-manager/all-modules.nix b/modules/home-manager/all-modules.nix index 5b0c6a6..e4129b0 100644 --- a/modules/home-manager/all-modules.nix +++ b/modules/home-manager/all-modules.nix @@ -16,7 +16,6 @@ ./k9s.nix ./kitty.nix ./mako.nix - ./mpv.nix ./neovim.nix ./polybar.nix ./rio.nix diff --git a/modules/home-manager/mpv.nix b/modules/home-manager/mpv.nix deleted file mode 100644 index 1f4f39d..0000000 --- a/modules/home-manager/mpv.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ config, lib, ... }: -let - inherit (config.catppuccin) sources; - inherit (lib) ctp mkIf; - cfg = config.programs.mpv.catppuccin; - enable = cfg.enable && config.programs.mpv.enable; -in -{ - options.programs.mpv.catppuccin = ctp.mkCatppuccinOpt { name = "mpv"; } // { - accent = ctp.mkAccentOpt "mpv"; - }; - - config.programs.mpv = mkIf enable { - config.include = sources.mpv + "/themes/${cfg.flavor}/${cfg.accent}.conf"; - }; -}