summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index e1e0fc2d..b1353b59 100644
--- a/meson.build
+++ b/meson.build
@@ -66,6 +66,7 @@ endif
conf_data.set10('HAVE_GDK_PIXBUF', gdk_pixbuf.found())
conf_data.set10('HAVE_SYSTEMD', systemd.found())
conf_data.set10('HAVE_ELOGIND', elogind.found())
+conf_data.set10('HAVE_TRAY', get_option('enable-tray') and (systemd.found() or elogind.found()))
if not systemd.found() and not elogind.found()
warning('The sway binary must be setuid when compiled without (e)logind')
@@ -212,6 +213,7 @@ endif
if (get_option('bash-completions'))
bash_files = files(
'completions/bash/sway',
+ 'completions/bash/swaybar',
'completions/bash/swayidle',
'completions/bash/swaylock',
'completions/bash/swaymsg',