diff options
author | Kira Bruneau <kira.bruneau@pm.me> | 2023-11-25 19:26:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-25 19:26:42 -0500 |
commit | 9fe70894e60be5c990135d779d163d7ad0861faa (patch) | |
tree | 8bbf174aafd465d845b984c8c66b166722c0078d /pkgs/applications/window-managers | |
parent | 9cc575741df943328b2dbbf6ef7c5dfd49c1bbe0 (diff) | |
parent | a1674c57abc9c369467195ccbd5b6fd1d1dd6209 (diff) |
Merge pull request #270013 from kira-bruneau/swayfx
swayfx: wrap like sway
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r-- | pkgs/applications/window-managers/sway/fx.nix | 3 | ||||
-rw-r--r-- | pkgs/applications/window-managers/sway/wrapper.nix | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/applications/window-managers/sway/fx.nix b/pkgs/applications/window-managers/sway/fx.nix index 02afaba70774c..16ab1903ab011 100644 --- a/pkgs/applications/window-managers/sway/fx.nix +++ b/pkgs/applications/window-managers/sway/fx.nix @@ -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 diff --git a/pkgs/applications/window-managers/sway/wrapper.nix b/pkgs/applications/window-managers/sway/wrapper.nix index 7510e1e9582b3..056d552caa972 100644 --- a/pkgs/applications/window-managers/sway/wrapper.nix +++ b/pkgs/applications/window-managers/sway/wrapper.nix @@ -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; |