feat(micro): Remove micro
This commit is contained in:
parent
f8c7812f4f
commit
7e82562b1c
3 changed files with 2 additions and 31 deletions
|
@ -192,18 +192,6 @@
|
||||||
"url": "https://github.com/rose-pine/mako/archive/07bc71ed12be3ce7d0b728eee58c5e183f78f40e.tar.gz",
|
"url": "https://github.com/rose-pine/mako/archive/07bc71ed12be3ce7d0b728eee58c5e183f78f40e.tar.gz",
|
||||||
"hash": "0xxkj2x4nz6qkdjdfr5fddb24ab51519xnai63x62zlij0fzgdq0"
|
"hash": "0xxkj2x4nz6qkdjdfr5fddb24ab51519xnai63x62zlij0fzgdq0"
|
||||||
},
|
},
|
||||||
"micro": {
|
|
||||||
"type": "Git",
|
|
||||||
"repository": {
|
|
||||||
"type": "GitHub",
|
|
||||||
"owner": "catppuccin",
|
|
||||||
"repo": "micro"
|
|
||||||
},
|
|
||||||
"branch": "main",
|
|
||||||
"revision": "2802b32308e5b1a827689c095f11ae604bbc85e6",
|
|
||||||
"url": "https://github.com/catppuccin/micro/archive/2802b32308e5b1a827689c095f11ae604bbc85e6.tar.gz",
|
|
||||||
"hash": "1d28rhywzwhdg3qzjmgq4xjga7lg19hm4zkcfqjaf7c25pczg5zq"
|
|
||||||
},
|
|
||||||
"mpv": {
|
"mpv": {
|
||||||
"type": "Git",
|
"type": "Git",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -446,4 +434,5 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": 3
|
"version": 3
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
./k9s.nix
|
./k9s.nix
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
./mako.nix
|
./mako.nix
|
||||||
./micro.nix
|
|
||||||
./mpv.nix
|
./mpv.nix
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
./polybar.nix
|
./polybar.nix
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
{ config, lib, ... }:
|
|
||||||
let
|
|
||||||
inherit (config.catppuccin) sources;
|
|
||||||
cfg = config.programs.micro.catppuccin;
|
|
||||||
enable = cfg.enable && config.programs.micro.enable;
|
|
||||||
|
|
||||||
themePath = "catppuccin-${cfg.flavor}.micro";
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.programs.micro.catppuccin = lib.ctp.mkCatppuccinOpt { name = "micro"; };
|
|
||||||
|
|
||||||
config = lib.mkIf enable {
|
|
||||||
programs.micro.settings.colorscheme = lib.removeSuffix ".micro" themePath;
|
|
||||||
|
|
||||||
xdg.configFile."micro/colorschemes/${themePath}".source = "${sources.micro}/src/${themePath}";
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue