refactor: directly override hyprscroller instead of overlay, bump ver

This commit is contained in:
Youwen Wu 2025-02-03 20:45:23 -08:00
parent c6235fe00c
commit fffd743d54
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
2 changed files with 20 additions and 22 deletions

View file

@ -85,7 +85,17 @@ in
wayland.windowManager.hyprland = {
enable = true;
plugins = lib.mkIf cfg.hyprscroller.enable [ pkgs.hyprlandPlugins.hyprscroller ];
plugins = lib.mkIf cfg.hyprscroller.enable [
(pkgs.hyprlandPlugins.hyprscroller.overrideAttrs {
version = "0.47.2";
src = pkgs.fetchFromGitHub {
owner = "dawsers";
repo = "hyprscroller";
rev = "ce7503685297d88e0bb0961343ed3fbed21c559c";
hash = "sha256-3pGIe4H1LUOJw0ULfVwZ7Ph7r/AyEipx7jbWP7zz3MU=";
};
})
];
settings = {
"$mod" = "SUPER";
"$Left" = "H";