imma cry
This commit is contained in:
parent
2cf30bc675
commit
2d1517e710
3 changed files with 20 additions and 7 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -637,11 +637,11 @@
|
||||||
"tinted-zed": "tinted-zed"
|
"tinted-zed": "tinted-zed"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748369100,
|
"lastModified": 1748376235,
|
||||||
"narHash": "sha256-rZO2WC1cVIpmwtBKxkex4lJAM7zqut3+5QKZltBkG5U=",
|
"narHash": "sha256-LIQnskjlVHTJC5dW4xoWlMCtrKeWOPW7/8HYd8IruLA=",
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "dedf5de5792af6c16560f9cc8864be73ae535251",
|
"rev": "e38a646e5cd3d000c8fffb14632f3bb8a45dd042",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
{
|
{
|
||||||
|
|
||||||
lib,
|
lib,
|
||||||
|
fetchFromGitHub,
|
||||||
hyprland,
|
hyprland,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
cmake,
|
cmake,
|
||||||
src,
|
unstableGitUpdater,
|
||||||
version,
|
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
mkHyprlandPlugin =
|
mkHyprlandPlugin =
|
||||||
|
@ -26,18 +28,29 @@ let
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
mkHyprlandPlugin hyprland {
|
mkHyprlandPlugin hyprland {
|
||||||
inherit src version;
|
|
||||||
pluginName = "hyprscroller";
|
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 ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
mkdir -p $out/lib
|
mkdir -p $out/lib
|
||||||
mv hyprscroller.so $out/lib/libhyprscroller.so
|
mv hyprscroller.so $out/lib/libhyprscroller.so
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = unstableGitUpdater { };
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/cpiber/hyprscroller";
|
homepage = "https://github.com/cpiber/hyprscroller";
|
||||||
description = "Hyprland layout plugin providing a scrolling layout like PaperWM";
|
description = "Hyprland layout plugin providing a scrolling layout like PaperWM";
|
||||||
|
|
|
@ -101,7 +101,7 @@ in
|
||||||
|
|
||||||
wayland.windowManager.hyprland =
|
wayland.windowManager.hyprland =
|
||||||
let
|
let
|
||||||
hyprscroller = pkgs.callPackage ../../pkgs/hyprland/hyprscroller.nix {
|
hyprscroller = pkgs.callPackage ../../../../pkgs/hyprland/hyprscroller.nix {
|
||||||
src = inputs.hyprscroller-src;
|
src = inputs.hyprscroller-src;
|
||||||
version = inputs.hyprscroller-src.lastModified;
|
version = inputs.hyprscroller-src.lastModified;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue