feat: Remove aerc
This commit is contained in:
parent
4ffde6b6bc
commit
847491e797
2 changed files with 0 additions and 35 deletions
|
@ -1,17 +1,5 @@
|
|||
{
|
||||
"pins": {
|
||||
"aerc": {
|
||||
"type": "Git",
|
||||
"repository": {
|
||||
"type": "GitHub",
|
||||
"owner": "catppuccin",
|
||||
"repo": "aerc"
|
||||
},
|
||||
"branch": "main",
|
||||
"revision": "ca404a9f2d125ef12db40db663d43c9d94116a05",
|
||||
"url": "https://github.com/catppuccin/aerc/archive/ca404a9f2d125ef12db40db663d43c9d94116a05.tar.gz",
|
||||
"hash": "0q9a818rwsqx5kvln5zzfan54xaw9yqbbm5hjbrwzdl5q8g28qir"
|
||||
},
|
||||
"alacritty": {
|
||||
"type": "Git",
|
||||
"repository": {
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
inherit (config.catppuccin) sources;
|
||||
cfg = config.programs.aerc.catppuccin;
|
||||
enable = cfg.enable && config.programs.aerc.enable;
|
||||
themeName = "catppuccin-${cfg.flavor}";
|
||||
in
|
||||
{
|
||||
options.programs.aerc.catppuccin = lib.ctp.mkCatppuccinOpt { name = "aerc"; };
|
||||
|
||||
config = lib.mkIf enable {
|
||||
programs.aerc = {
|
||||
stylesets.${themeName} = builtins.readFile "${sources.aerc}/dist/${themeName}";
|
||||
extraConfig = {
|
||||
ui = {
|
||||
styleset-name = themeName;
|
||||
border-char-vertical = "│";
|
||||
border-char-horizontal = "─";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue