-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #325389 from donovanglover/hyprscroller
hyprlandPlugins.hyprscroller: init at 0-unstable-2024-07-04
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprscroller.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
lib, | ||
mkHyprlandPlugin, | ||
hyprland, | ||
cmake, | ||
fetchFromGitHub, | ||
unstableGitUpdater, | ||
}: | ||
|
||
mkHyprlandPlugin hyprland { | ||
pluginName = "hyprscroller"; | ||
version = "0-unstable-2024-07-04"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "dawsers"; | ||
repo = "hyprscroller"; | ||
rev = "bef840b3f0fd3d37b5c1c9f2704b2efb60173184"; | ||
hash = "sha256-vkpGSseA7n0/Y+83snbEe7Z++2akdDbvv7eZzM9V3wI="; | ||
}; | ||
|
||
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/dawsers/hyprscroller"; | ||
description = "Hyprland layout plugin providing a scrolling layout like PaperWM"; | ||
license = lib.licenses.mit; | ||
maintainers = with lib.maintainers; [ donovanglover ]; | ||
platforms = lib.platforms.linux; | ||
}; | ||
} |