Skip to content

Commit

Permalink
feat(home-manager): init rio module (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelBelsanti authored Apr 16, 2024
1 parent 2f2a820 commit 453cca1
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 0 deletions.
20 changes: 20 additions & 0 deletions _sources/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,26 @@
},
"version": "989420b24e1f651b176c9d6083ad7c3b90a27f8b"
},
"rio": {
"cargoLocks": null,
"date": "2023-12-05",
"extract": null,
"name": "rio",
"passthru": null,
"pinned": false,
"src": {
"deepClone": false,
"fetchSubmodules": false,
"leaveDotGit": false,
"name": null,
"owner": "catppuccin",
"repo": "rio",
"rev": "a8d3d3c61f828da5f3d6d02d7d489108f6428178",
"sha256": "sha256-bT789sEDJl3wQh/yfbmjD/J7XNr2ejOd0UsASguyCQo=",
"type": "github"
},
"version": "a8d3d3c61f828da5f3d6d02d7d489108f6428178"
},
"rofi": {
"cargoLocks": null,
"date": "2022-12-31",
Expand Down
12 changes: 12 additions & 0 deletions _sources/generated.nix
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,18 @@
};
date = "2024-02-03";
};
rio = {
pname = "rio";
version = "a8d3d3c61f828da5f3d6d02d7d489108f6428178";
src = fetchFromGitHub {
owner = "catppuccin";
repo = "rio";
rev = "a8d3d3c61f828da5f3d6d02d7d489108f6428178";
fetchSubmodules = false;
sha256 = "sha256-bT789sEDJl3wQh/yfbmjD/J7XNr2ejOd0UsASguyCQo=";
};
date = "2023-12-05";
};
rofi = {
pname = "rofi";
version = "5350da41a11814f950c3354f090b90d4674a95ce";
Expand Down
18 changes: 18 additions & 0 deletions modules/home-manager/rio.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{ config
, lib
, sources
, ...
}:
let
inherit (lib) ctp;
cfg = config.programs.rio.catppuccin;
enable = cfg.enable && config.programs.rio.enable;
in
{
options.programs.rio.catppuccin =
ctp.mkCatppuccinOpt "rio";

config = lib.mkIf enable {
programs.rio.settings = lib.importTOML "${sources.rio}/catppuccin-${cfg.flavour}.toml";
};
}
4 changes: 4 additions & 0 deletions nvfetcher.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ fetch.github = "catppuccin/palette"
src.git = "https://github.com/catppuccin/polybar.git"
fetch.github = "catppuccin/polybar"

[rio]
src.git = "https://github.com/catppuccin/rio.git"
fetch.github = "catppuccin/rio"

[rofi]
src.git = "https://github.com/catppuccin/rofi.git"
fetch.github = "catppuccin/rofi"
Expand Down

0 comments on commit 453cca1

Please sign in to comment.