feat(home-manager): add support for foot (#120)
This commit is contained in:
parent
e69bd64bac
commit
5e09f8a293
5 changed files with 52 additions and 0 deletions
|
@ -159,6 +159,26 @@
|
|||
},
|
||||
"version": "0ce27b518e8ead555dec34dd8be3df5bd75cff8e"
|
||||
},
|
||||
"foot": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-01-18",
|
||||
"extract": null,
|
||||
"name": "foot",
|
||||
"passthru": null,
|
||||
"pinned": false,
|
||||
"src": {
|
||||
"deepClone": false,
|
||||
"fetchSubmodules": false,
|
||||
"leaveDotGit": false,
|
||||
"name": null,
|
||||
"owner": "catppuccin",
|
||||
"repo": "foot",
|
||||
"rev": "ee5549af72ab78520ac2aa1c671bf5c2d347c8ca",
|
||||
"sha256": "sha256-3hK9klXwdHhprG2wUMt7nBfbL1mb/gl+k/MtJUuY000=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "ee5549af72ab78520ac2aa1c671bf5c2d347c8ca"
|
||||
},
|
||||
"gitui": {
|
||||
"cargoLocks": null,
|
||||
"date": "2023-11-13",
|
||||
|
|
|
@ -97,6 +97,18 @@
|
|||
};
|
||||
date = "2023-11-02";
|
||||
};
|
||||
foot = {
|
||||
pname = "foot";
|
||||
version = "ee5549af72ab78520ac2aa1c671bf5c2d347c8ca";
|
||||
src = fetchFromGitHub {
|
||||
owner = "catppuccin";
|
||||
repo = "foot";
|
||||
rev = "ee5549af72ab78520ac2aa1c671bf5c2d347c8ca";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-3hK9klXwdHhprG2wUMt7nBfbL1mb/gl+k/MtJUuY000=";
|
||||
};
|
||||
date = "2024-01-18";
|
||||
};
|
||||
gitui = {
|
||||
pname = "gitui";
|
||||
version = "39978362b2c88b636cacd55b65d2f05c45a47eb9";
|
||||
|
|
15
modules/home-manager/foot.nix
Normal file
15
modules/home-manager/foot.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config
|
||||
, lib
|
||||
, sources
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
cfg = config.programs.foot.catppuccin;
|
||||
enable = cfg.enable && config.programs.foot.enable;
|
||||
theme = lib.ctp.fromINI (sources.foot + /catppuccin-${cfg.flavour}.ini);
|
||||
in
|
||||
{
|
||||
options.programs.foot.catppuccin = lib.ctp.mkCatppuccinOpt "foot";
|
||||
|
||||
config.programs.foot = lib.mkIf enable { settings = theme; };
|
||||
}
|
|
@ -30,6 +30,10 @@ fetch.github = "catppuccin/dunst"
|
|||
src.git = "https://github.com/catppuccin/fish.git"
|
||||
fetch.github = "catppuccin/fish"
|
||||
|
||||
[foot]
|
||||
src.git = "https://github.com/catppuccin/foot.git"
|
||||
fetch.github = "catppuccin/foot"
|
||||
|
||||
[gitui]
|
||||
src.git = "https://github.com/catppuccin/gitui.git"
|
||||
fetch.github = "catppuccin/gitui"
|
||||
|
|
1
test.nix
1
test.nix
|
@ -60,6 +60,7 @@ in
|
|||
btop = ctpEnable;
|
||||
cava = ctpEnable;
|
||||
fish = ctpEnable;
|
||||
foot = ctpEnable;
|
||||
fzf = ctpEnable;
|
||||
git.enable = true; # Required for delta
|
||||
git.delta = ctpEnable;
|
||||
|
|
Loading…
Reference in a new issue