feat(gh-dash): Remove gh-dash

This commit is contained in:
punkfairie 2024-10-19 22:02:22 -07:00
parent 1c6a265081
commit c202d1e3c8
Signed by: punkfairie
GPG key ID: 01823C057725C266
2 changed files with 0 additions and 15 deletions

View file

@ -9,7 +9,6 @@
./fish.nix
./foot.nix
./fzf.nix
./gh-dash.nix
./gitui.nix
./glamour.nix
./globals.nix

View file

@ -1,14 +0,0 @@
{ config, lib, ... }:
let
inherit (config.catppuccin) sources;
cfg = config.programs.gh-dash.catppuccin;
enable = cfg.enable && config.programs.gh-dash.enable;
theme = "${sources.gh-dash}/themes/${cfg.flavor}/catppuccin-${cfg.flavor}-${cfg.accent}.yml";
in
{
options.programs.gh-dash.catppuccin = lib.ctp.mkCatppuccinOpt { name = "gh-dash"; } // {
accent = lib.ctp.mkAccentOpt "gh-dash";
};
config.programs.gh-dash.settings = lib.mkIf enable (lib.ctp.fromYaml theme);
}