hyprlandPlugins.hypr-darkwindow: init at 0.51.1 (#453977)

This commit is contained in:
Sandro
2025-11-18 21:59:58 +00:00
committed by GitHub
2 changed files with 38 additions and 0 deletions
@@ -37,6 +37,7 @@ let
plugins = lib.mergeAttrsList [
{ hy3 = import ./hy3.nix; }
{ hypr-darkwindow = import ./hypr-darkwindow.nix; }
{ hypr-dynamic-cursors = import ./hypr-dynamic-cursors.nix; }
{ hyprfocus = import ./hyprfocus.nix; }
{ hyprgrass = import ./hyprgrass.nix; }
@@ -0,0 +1,37 @@
{
lib,
mkHyprlandPlugin,
fetchFromGitHub,
nix-update-script,
}:
mkHyprlandPlugin (finalAttrs: {
pluginName = "hypr-darkwindow";
version = "0.51.1";
src = fetchFromGitHub {
owner = "micha4w";
repo = "Hypr-DarkWindow";
tag = "v${finalAttrs.version}";
hash = "sha256-jq5j459gCVuBOpuGEvXe+9/O+HAineFxQI4sIcEPi/c=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/lib
mv out/hypr-darkwindow.so $out/lib/libhypr-darkwindow.so
runHook postInstall
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "Hyprland Plugin to invert Colors of specific Windows!";
homepage = "https://github.com/micha4w/Hypr-DarkWindow";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ anninzy ];
platforms = lib.platforms.linux;
};
})