rose-pine-hyprcursor, fnott修正
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkOption recursiveUpdate types;
|
||||
rosePineHyprcursor = pkgs.callPackage ./rose-pine-hyprcursor.nix { };
|
||||
|
||||
defaultInput = {
|
||||
kb_layout = "us";
|
||||
@@ -220,10 +221,14 @@ in
|
||||
plugins = [
|
||||
];
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
swww
|
||||
eww
|
||||
];
|
||||
home.packages =
|
||||
[
|
||||
rosePineHyprcursor
|
||||
]
|
||||
++ (with pkgs; [
|
||||
swww
|
||||
eww
|
||||
]);
|
||||
home.sessionVariables = {
|
||||
HYPRCURSOR_THEME = "rose-pine-hyprcursor";
|
||||
HYPRCURSOR_SIZE = "24";
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
stdenvNoCC,
|
||||
lib,
|
||||
fetchzip,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "rose-pine-hyprcursor";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/ndom91/rose-pine-hyprcursor/archive/refs/tags/v${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-ArUX5qlqAXUqcRqHz4QxXy3KgkfasTPA/Qwf6D2kV0U=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
target=$out/share/icons/${finalAttrs.pname}
|
||||
mkdir -p "$target"
|
||||
cp -r hyprcursors hyprcursors_uncompressed manifest.hl "$target"
|
||||
# include docs for reference
|
||||
cp README.md LICENSE "$target"/
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Rose Pine themed Hyprcursor set";
|
||||
homepage = "https://github.com/ndom91/rose-pine-hyprcursor";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user