fix: Only include optional module fallback if needed

This commit is contained in:
Michael Carlberg 2016-11-21 01:19:44 +01:00
parent cf22468503
commit d0915b82f4

View File

@ -20,7 +20,6 @@
#include "modules/script.hpp" #include "modules/script.hpp"
#include "modules/temperature.hpp" #include "modules/temperature.hpp"
#include "modules/text.hpp" #include "modules/text.hpp"
#include "modules/unsupported.hpp"
#include "modules/xbacklight.hpp" #include "modules/xbacklight.hpp"
#include "modules/xwindow.hpp" #include "modules/xwindow.hpp"
@ -45,6 +44,10 @@
#include "modules/volume.hpp" #include "modules/volume.hpp"
#endif #endif
#if not (ENABLE_I3 && ENABLE_MPD && ENABLE_NETWORK && ENABLE_ALSA)
#include "modules/unsupported.hpp"
#endif
POLYBAR_NS POLYBAR_NS
using namespace modules; using namespace modules;