Merge pull request #270013 from kira-bruneau/swayfx

swayfx: wrap like sway
This commit is contained in:
Kira Bruneau 2023-11-25 19:26:42 -05:00 committed by GitHub
commit 9fe70894e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View file

@ -27,9 +27,10 @@ sway-unwrapped.overrideAttrs (oldAttrs: rec {
meta = with lib; {
description = "Sway, but with eye candy!";
homepage = "https://github.com/WillPower3309/swayfx";
maintainers = with maintainers; [ ricarch97 ];
license = licenses.mit;
maintainers = with maintainers; [ ricarch97 ];
platforms = platforms.linux;
mainProgram = "swayfx";
longDescription = ''
Fork of Sway, an incredible and one of the most well established Wayland

View file

@ -1,5 +1,4 @@
{ lib
, sway-unwrapped
, makeWrapper, symlinkJoin, writeShellScriptBin
, withBaseWrapper ? true, extraSessionCommands ? "", dbus
, withGtkWrapper ? false, wrapGAppsHook, gdk-pixbuf, glib, gtk3
@ -11,6 +10,8 @@
, dbusSupport ? true
}:
sway-unwrapped:
assert extraSessionCommands != "" -> withBaseWrapper;
with lib;

View file

@ -32639,10 +32639,11 @@ with pkgs;
wlroots_0_16
wlroots;
wrapSway = callPackage ../applications/window-managers/sway/wrapper.nix { };
sway-unwrapped = callPackage ../applications/window-managers/sway {
wlroots = wlroots_0_16;
};
sway = callPackage ../applications/window-managers/sway/wrapper.nix { };
sway = wrapSway sway-unwrapped;
swaybg = callPackage ../applications/window-managers/sway/bg.nix { };
swayidle = callPackage ../applications/window-managers/sway/idle.nix { };
swaylock = callPackage ../applications/window-managers/sway/lock.nix { };
@ -32653,7 +32654,8 @@ with pkgs;
swaycons = callPackage ../applications/window-managers/sway/swaycons.nix { };
swayfx = callPackage ../applications/window-managers/sway/fx.nix { };
swayfx-unwrapped = callPackage ../applications/window-managers/sway/fx.nix { };
swayfx = wrapSway swayfx-unwrapped;
swaylock-fancy = callPackage ../applications/window-managers/sway/lock-fancy.nix { };