Unverified Commit 9fe70894 authored by Kira Bruneau's avatar Kira Bruneau Committed by GitHub
Browse files

Merge pull request #270013 from kira-bruneau/swayfx

swayfx: wrap like sway
parents 9cc57574 a1674c57
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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
+2 −1
Original line number Diff line number Diff line
{ 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;
+4 −2
Original line number Diff line number Diff line
@@ -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 { };