feat: allow waybar to be positioned on left/right

This commit is contained in:
Alex
2019-03-22 12:25:05 +01:00
parent f700319d7f
commit 47142a61ae
7 changed files with 48 additions and 19 deletions

View File

@ -38,7 +38,7 @@ waybar::IModule* waybar::Factory::makeModule(const std::string &name) const
}
#ifdef HAVE_DBUSMENU
if (ref == "tray") {
return new waybar::modules::SNI::Tray(id, config_[name]);
return new waybar::modules::SNI::Tray(id, bar_, config_[name]);
}
#endif
#ifdef HAVE_LIBNL