feat(hyprshade): add hyprshaders

This commit is contained in:
Mohammad Rafiq 2025-03-25 07:01:04 +08:00
parent 00b585c354
commit f0e9e264e5
No known key found for this signature in database
3 changed files with 25 additions and 1 deletions

17
flake.lock generated
View file

@ -819,6 +819,22 @@
"type": "github"
}
},
"hyprshaders": {
"flake": false,
"locked": {
"lastModified": 1734682301,
"narHash": "sha256-vZMg5gZUfI3LDOyIKqL+qDOs+lAhmvclGH2crcTvX0M=",
"owner": "0x15BA88FF",
"repo": "hyprshaders",
"rev": "efe1f79c28692a315b7a6aaaaee0e4047e2d4a57",
"type": "github"
},
"original": {
"owner": "0x15BA88FF",
"repo": "hyprshaders",
"type": "github"
}
},
"hyprutils": {
"inputs": {
"nixpkgs": [
@ -1401,6 +1417,7 @@
"hyprland": "hyprland",
"hyprland-plugins": "hyprland-plugins",
"hyprlock": "hyprlock",
"hyprshaders": "hyprshaders",
"impermanence": "impermanence",
"nix-index-database": "nix-index-database",
"nixd": "nixd",

View file

@ -84,5 +84,7 @@
path = "/home/rafiq/repos/dotfiles/media/wii-cursors-xcursor";
};
hyprcloser.url = "github:rrvsh/hyprcloser";
hyprshaders.url = "github:0x15BA88FF/hyprshaders";
hyprshaders.flake = false;
};
}

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ inputs, pkgs, ... }:
{
home.packages = [ pkgs.hyprshade ];
xdg.configFile."hypr/hyprshade.toml" = {
@ -15,4 +15,9 @@
end_time = 07:00:00 # optional if more than one shader has start_time
'';
};
xdg.configFile."hypr/shaders" = {
enable = true;
recursive = true;
source = "${inputs.hyprshaders}/shaders";
};
}