2024-01-02 11:29:13 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
sway-unwrapped,
|
|
|
|
stdenv,
|
|
|
|
systemd,
|
2024-02-29 20:09:43 +00:00
|
|
|
wlroots_0_16,
|
2024-01-02 11:29:13 +00:00
|
|
|
# Used by the NixOS module:
|
|
|
|
isNixOS ? false,
|
|
|
|
enableXWayland ? true,
|
|
|
|
systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd,
|
|
|
|
trayEnabled ? systemdSupport,
|
|
|
|
}:
|
2023-04-29 16:46:19 +00:00
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
(sway-unwrapped.override {
|
|
|
|
inherit
|
|
|
|
isNixOS
|
|
|
|
enableXWayland
|
|
|
|
systemdSupport
|
|
|
|
trayEnabled
|
|
|
|
;
|
2024-02-29 20:09:43 +00:00
|
|
|
|
|
|
|
wlroots = wlroots_0_16;
|
2024-01-02 11:29:13 +00:00
|
|
|
}).overrideAttrs (oldAttrs: rec {
|
|
|
|
pname = "swayfx-unwrapped";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "0.3.2";
|
2023-04-29 16:46:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "WillPower3309";
|
|
|
|
repo = "swayfx";
|
|
|
|
rev = version;
|
2023-07-15 17:15:38 +00:00
|
|
|
sha256 = "sha256-Gwewb0yDVhEBrefSSGDf1hLtpWcntzifPCPJQhqLqI0=";
|
2023-04-29 16:46:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
2023-05-24 13:37:59 +00:00
|
|
|
description = "Sway, but with eye candy!";
|
2023-04-29 16:46:19 +00:00
|
|
|
homepage = "https://github.com/WillPower3309/swayfx";
|
|
|
|
license = licenses.mit;
|
2024-01-02 11:29:13 +00:00
|
|
|
maintainers = with maintainers; [ eclairevoyant ricarch97 ];
|
2023-04-29 16:46:19 +00:00
|
|
|
platforms = platforms.linux;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "sway";
|
2023-04-29 16:46:19 +00:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
Fork of Sway, an incredible and one of the most well established Wayland
|
|
|
|
compositors, and a drop-in replacement for the i3 window manager for X11.
|
|
|
|
SwayFX adds extra options and effects to the original Sway, such as rounded corners,
|
|
|
|
shadows and inactive window dimming to bring back some of the Picom X11
|
|
|
|
compositor functionality, which was commonly used with the i3 window manager.
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
})
|