feat(home-manager): add support for fuzzel (#75)
This commit is contained in:
parent
512306ae58
commit
7e23de352f
5 changed files with 29 additions and 0 deletions
|
@ -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": {
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
./fcitx5.nix
|
||||
./fish.nix
|
||||
./foot.nix
|
||||
./fuzzel.nix
|
||||
./fzf.nix
|
||||
./gh-dash.nix
|
||||
./gitui.nix
|
||||
|
|
14
modules/home-manager/fuzzel.nix
Normal file
14
modules/home-manager/fuzzel.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
cava.enable = true;
|
||||
fish.enable = true;
|
||||
foot.enable = true;
|
||||
fuzzel.enable = true;
|
||||
fzf.enable = true;
|
||||
gh-dash.enable = true;
|
||||
git = {
|
||||
|
|
Loading…
Reference in a new issue