sway: use a more-accurate default for trayEnabled

This commit implements @primeos's suggestion here:

  https://github.com/NixOS/nixpkgs/pull/160972#pullrequestreview-901069355
This commit is contained in:
Adam Joseph 2022-03-08 18:42:01 -08:00
parent c99ae85b48
commit 72473ff070

View File

@ -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,