niri: add patch for scrolling without mouse config

This commit is contained in:
Moritz Sanft 2024-11-11 08:27:57 +01:00
parent f0b14e4fb4
commit b3057fce63
No known key found for this signature in database
GPG Key ID: 335D28368B1DA615

View File

@ -4,6 +4,7 @@
dbus,
eudev,
fetchFromGitHub,
fetchpatch,
libdisplay-info,
libglvnd,
libinput,
@ -34,6 +35,14 @@ rustPlatform.buildRustPackage rec {
hash = "sha256-ea15x8+AAm90aeU1zNWXzX7ZfenzQRUgORyjOdn4Uoc=";
};
patches = [
# Fix scrolling not working with missing mouse config
(fetchpatch {
url = "https://github.com/YaLTeR/niri/commit/1951d2a9f262196a706f2645efb18dac3c4d6839.patch";
hash = "sha256-P/0LMYZ4HD0iG264BMnK4sLNNLmtbefF230GyC+t6qg=";
})
];
postPatch = ''
patchShebangs resources/niri-session
substituteInPlace resources/niri.service \