aboutsummaryrefslogtreecommitdiff
path: root/swaybar
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-01-17 18:02:25 +0100
committeremersion <contact@emersion.fr>2019-01-17 18:26:24 +0100
commit08a5b304e4334020f46752697ad0e7cde54229f4 (patch)
tree4debab2293c5ea1fe6172805e35a1d78ad2b3482 /swaybar
parent5a0c4234b8f0ef5ad3d17430e876e29242b934e2 (diff)
downloadsway-08a5b304e4334020f46752697ad0e7cde54229f4.tar.xz
Use Meson feature options
Diffstat (limited to 'swaybar')
-rw-r--r--swaybar/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/swaybar/meson.build b/swaybar/meson.build
index 312ca97b..a44c0061 100644
--- a/swaybar/meson.build
+++ b/swaybar/meson.build
@@ -1,4 +1,4 @@
-tray_files = get_option('enable-tray') ? [
+tray_files = have_tray ? [
'tray/host.c',
'tray/icon.c',
'tray/item.c',
@@ -19,7 +19,7 @@ swaybar_deps = [
wayland_cursor,
wlroots,
]
-if get_option('enable-tray')
+if have_tray
if systemd.found()
swaybar_deps += systemd
elif elogind.found()