From ace4fa3d1f20da2ace54504226d999f633556930 Mon Sep 17 00:00:00 2001 From: Ricardo Steijn Date: Thu, 13 Apr 2023 18:54:08 +0200 Subject: [PATCH] swayfx: init at 0.2 --- maintainers/maintainer-list.nix | 6 ++++ pkgs/applications/window-managers/sway/fx.nix | 29 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 37 insertions(+) create mode 100644 pkgs/applications/window-managers/sway/fx.nix diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 2b7272fe496..0add916ff98 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -12962,6 +12962,12 @@ github = "ribose-jeffreylau"; githubId = 2649467; }; + ricarch97 = { + email = "ricardo.steijn97@gmail.com"; + github = "RicArch97"; + githubId = 61013287; + name = "Ricardo Steijn"; + }; richardipsum = { email = "richardipsum@fastmail.co.uk"; github = "richardipsum"; diff --git a/pkgs/applications/window-managers/sway/fx.nix b/pkgs/applications/window-managers/sway/fx.nix new file mode 100644 index 00000000000..27c440a38c7 --- /dev/null +++ b/pkgs/applications/window-managers/sway/fx.nix @@ -0,0 +1,29 @@ +{ fetchFromGitHub, lib, sway-unwrapped }: + +sway-unwrapped.overrideAttrs (oldAttrs: rec { + pname = "swayfx"; + version = "0.2"; + + src = fetchFromGitHub { + owner = "WillPower3309"; + repo = "swayfx"; + rev = version; + sha256 = "sha256-nVy7GdAnheWhjevcCPE407xWSLN8F4Le0uq2RDwv/Zc="; + }; + + meta = with lib; { + description = "A Beautiful Sway Fork"; + homepage = "https://github.com/WillPower3309/swayfx"; + maintainers = with maintainers; [ ricarch97 ]; + license = licenses.mit; + platforms = platforms.linux; + + 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. + ''; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b5e784b19c1..55eb5eb27c7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -30960,6 +30960,8 @@ with pkgs; swaycons = callPackage ../applications/window-managers/sway/swaycons.nix { }; + swayfx = callPackage ../applications/window-managers/sway/fx.nix { }; + swaylock-fancy = callPackage ../applications/window-managers/sway/lock-fancy.nix { }; swaylock-effects = callPackage ../applications/window-managers/sway/lock-effects.nix { };