From d26858914eb6f2d03d78ecb6023adc682b274ef4 Mon Sep 17 00:00:00 2001 From: Ricardo Steijn Date: Sun, 21 May 2023 14:06:48 +0200 Subject: [PATCH] swayfx: 0.2 -> 0.3 --- pkgs/applications/window-managers/sway/fx.nix | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/window-managers/sway/fx.nix b/pkgs/applications/window-managers/sway/fx.nix index 27c440a38c72..c77273c13a37 100644 --- a/pkgs/applications/window-managers/sway/fx.nix +++ b/pkgs/applications/window-managers/sway/fx.nix @@ -2,17 +2,30 @@ sway-unwrapped.overrideAttrs (oldAttrs: rec { pname = "swayfx"; - version = "0.2"; + version = "0.3"; src = fetchFromGitHub { owner = "WillPower3309"; repo = "swayfx"; rev = version; - sha256 = "sha256-nVy7GdAnheWhjevcCPE407xWSLN8F4Le0uq2RDwv/Zc="; + sha256 = "sha256-3Odyeb10AGbNf6TI1W79sLiwB4PrszC5VzjCr7FuPz4="; }; + # This patch was backported into SwayFX + # remove when next release is rebased on Sway 1.9 + patches = + let + removePatches = [ + "LIBINPUT_CONFIG_ACCEL_PROFILE_CUSTOM.patch" + ]; + in + builtins.filter + (patch: !builtins.elem (patch.name or null) removePatches) + (oldAttrs.patches or [ ]); + + meta = with lib; { - description = "A Beautiful Sway Fork"; + description = "Sway, but with eye candy!"; homepage = "https://github.com/WillPower3309/swayfx"; maintainers = with maintainers; [ ricarch97 ]; license = licenses.mit;