mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix: ifdef
This commit is contained in:
parent
f3fe57dd24
commit
68d9d2c347
@ -27,7 +27,7 @@ waybar::IModule* waybar::Factory::makeModule(const std::string &name) const
|
||||
if (name == "clock") {
|
||||
return new waybar::modules::Clock(config_[name]);
|
||||
}
|
||||
#ifdef DHAVE_DBUSMENU
|
||||
#ifdef HAVE_DBUSMENU
|
||||
if (name == "tray") {
|
||||
return new waybar::modules::SNI::Tray(config_[name]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user