diff options
author | emersion <contact@emersion.fr> | 2019-01-17 18:02:25 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-01-17 18:26:24 +0100 |
commit | 08a5b304e4334020f46752697ad0e7cde54229f4 (patch) | |
tree | 4debab2293c5ea1fe6172805e35a1d78ad2b3482 /swaybar | |
parent | Merge pull request #3447 from emersion/remove-swaylock-includes (diff) | |
download | sway-08a5b304e4334020f46752697ad0e7cde54229f4.tar.gz sway-08a5b304e4334020f46752697ad0e7cde54229f4.tar.zst sway-08a5b304e4334020f46752697ad0e7cde54229f4.zip |
Use Meson feature options
Diffstat (limited to 'swaybar')
-rw-r--r-- | swaybar/meson.build | 4 |
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 @@ | |||
1 | tray_files = get_option('enable-tray') ? [ | 1 | tray_files = have_tray ? [ |
2 | 'tray/host.c', | 2 | 'tray/host.c', |
3 | 'tray/icon.c', | 3 | 'tray/icon.c', |
4 | 'tray/item.c', | 4 | 'tray/item.c', |
@@ -19,7 +19,7 @@ swaybar_deps = [ | |||
19 | wayland_cursor, | 19 | wayland_cursor, |
20 | wlroots, | 20 | wlroots, |
21 | ] | 21 | ] |
22 | if get_option('enable-tray') | 22 | if have_tray |
23 | if systemd.found() | 23 | if systemd.found() |
24 | swaybar_deps += systemd | 24 | swaybar_deps += systemd |
25 | elif elogind.found() | 25 | elif elogind.found() |