diff --git a/.sources/sources.json b/.sources/sources.json index 19808ca..acf5d2e 100644 --- a/.sources/sources.json +++ b/.sources/sources.json @@ -383,19 +383,8 @@ "revision": "53835422f965e6c88b9ad59e11d343ca4552bf6d", "url": "https://github.com/rose-pine/zellij/archive/53835422f965e6c88b9ad59e11d343ca4552bf6d.tar.gz", "hash": "0cj31kv7y05cyyg7v0pc1dh5a2mp46sql2ngxk52cbks1garvnjl" - }, - "zsh-syntax-highlighting": { - "type": "Git", - "repository": { - "type": "GitHub", - "owner": "catppuccin", - "repo": "zsh-syntax-highlighting" - }, - "branch": "main", - "revision": "7926c3d3e17d26b3779851a2255b95ee650bd928", - "url": "https://github.com/catppuccin/zsh-syntax-highlighting/archive/7926c3d3e17d26b3779851a2255b95ee650bd928.tar.gz", - "hash": "1yjgpd44hhyk2mpg5g1scf53dwpjbyqbi2i8zhv98qkk1as77awp" } }, "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 125f3bd..148d412 100644 --- a/modules/home-manager/all-modules.nix +++ b/modules/home-manager/all-modules.nix @@ -27,5 +27,4 @@ ./waybar.nix ./zathura.nix ./zellij.nix - ./zsh-syntax-highlighting.nix ] diff --git a/modules/home-manager/zsh-syntax-highlighting.nix b/modules/home-manager/zsh-syntax-highlighting.nix deleted file mode 100644 index 3269d03..0000000 --- a/modules/home-manager/zsh-syntax-highlighting.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ config, lib, ... }: -let - inherit (config.catppuccin) sources; - inherit (lib) ctp; - cfg = config.programs.zsh.syntaxHighlighting.catppuccin; - enable = cfg.enable && config.programs.zsh.syntaxHighlighting.enable; -in -{ - options.programs.zsh.syntaxHighlighting.catppuccin = ctp.mkCatppuccinOpt { - name = "Zsh Syntax Highlighting"; - }; - - config.programs.zsh = lib.mkIf enable { - initExtra = lib.mkBefore '' - source '${sources.zsh-syntax-highlighting}/themes/catppuccin_${cfg.flavor}-zsh-syntax-highlighting.zsh' - ''; - }; -}