From 72473ff0700321d12d71ca0a0a787c00c6c18fa6 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Tue, 8 Mar 2022 18:42:01 -0800 Subject: [PATCH] sway: use a more-accurate default for trayEnabled This commit implements @primeos's suggestion here: https://github.com/NixOS/nixpkgs/pull/160972#pullrequestreview-901069355 --- pkgs/applications/window-managers/sway/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/window-managers/sway/default.nix b/pkgs/applications/window-managers/sway/default.nix index 9ea6c1650ee0..727d9b4e6b36 100644 --- a/pkgs/applications/window-managers/sway/default.nix +++ b/pkgs/applications/window-managers/sway/default.nix @@ -11,7 +11,7 @@ , systemdSupport ? stdenv.isLinux , dbusSupport ? true , dbus -, trayEnabled ? dbusSupport +, trayEnabled ? systemdSupport && dbusSupport }: # The "sd-bus-provider" meson option does not include a "none" option,