imma cry
This commit is contained in:
parent
2cf30bc675
commit
2d1517e710
3 changed files with 20 additions and 7 deletions
|
@ -1,10 +1,12 @@
|
|||
{
|
||||
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
hyprland,
|
||||
pkg-config,
|
||||
cmake,
|
||||
src,
|
||||
version,
|
||||
unstableGitUpdater,
|
||||
|
||||
}:
|
||||
let
|
||||
mkHyprlandPlugin =
|
||||
|
@ -26,18 +28,29 @@ let
|
|||
);
|
||||
in
|
||||
mkHyprlandPlugin hyprland {
|
||||
inherit src version;
|
||||
pluginName = "hyprscroller";
|
||||
version = "0-unstable-2025-05-16";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cpiber";
|
||||
repo = "hyprscroller";
|
||||
rev = "de97924b6d1086d84939b6f6688637f7b21d8d80";
|
||||
hash = "sha256-m9689UH+w8Z/qP/DKYtzQfIGfiE4jgBAfO+uH34cfNs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib
|
||||
mv hyprscroller.so $out/lib/libhyprscroller.so
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/cpiber/hyprscroller";
|
||||
description = "Hyprland layout plugin providing a scrolling layout like PaperWM";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue