feat(home-manager): add support for fuzzel (#75)

This commit is contained in:
Anomalocaridid 2024-08-06 21:21:08 -04:00 committed by GitHub
parent 512306ae58
commit 7e23de352f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 29 additions and 0 deletions

View file

@ -120,6 +120,18 @@
"url": "https://github.com/catppuccin/foot/archive/17e2bdc8a8d854e8d390919579f87ab7d5f86e38.tar.gz",
"hash": "145icc622jf5j9sb4d5phclh47s6n6zi9c906p3n935q2yycg7rg"
},
"fuzzel": {
"type": "Git",
"repository": {
"type": "GitHub",
"owner": "catppuccin",
"repo": "fuzzel"
},
"branch": "main",
"revision": "125dc68ba79ddfe71e59412257698418c4f05218",
"url": "https://github.com/catppuccin/fuzzel/archive/125dc68ba79ddfe71e59412257698418c4f05218.tar.gz",
"hash": "12vdwfm17f40c0pv8i36kfmpsx5jnxbdjyz0jajcfx419dl3mpms"
},
"gh-dash": {
"type": "Git",
"repository": {

View file

@ -10,6 +10,7 @@
./fcitx5.nix
./fish.nix
./foot.nix
./fuzzel.nix
./fzf.nix
./gh-dash.nix
./gitui.nix

View file

@ -0,0 +1,14 @@
{ config, lib, ... }:
let
inherit (config.catppuccin) sources;
cfg = config.programs.fuzzel.catppuccin;
in
{
options.programs.fuzzel.catppuccin = lib.ctp.mkCatppuccinOpt { name = "fuzzel"; } // {
accent = lib.ctp.mkAccentOpt "fuzzel";
};
config = lib.mkIf cfg.enable {
programs.fuzzel.settings.main.include = sources.fuzzel + "/themes/${cfg.flavor}/${cfg.accent}.ini";
};
}

View file

@ -18,6 +18,7 @@
programs = {
cava.enable = lib.mkForce false; # NOTE: this may actually work on darwin, but the package is currently not supported
foot.enable = lib.mkForce false;
fuzzel.enable = lib.mkForce false;
imv.enable = lib.mkForce false;
mpv.enable = lib.mkForce false; # NOTE: same as cava, but `mpv` fails to build currently
rofi.enable = lib.mkForce false;

View file

@ -24,6 +24,7 @@
cava.enable = true;
fish.enable = true;
foot.enable = true;
fuzzel.enable = true;
fzf.enable = true;
gh-dash.enable = true;
git = {