mirror of
https://github.com/polybar/polybar.git
synced 2026-02-19 22:15:39 +00:00
fix: Only include optional module fallback if needed
This commit is contained in:
@ -20,7 +20,6 @@
|
||||
#include "modules/script.hpp"
|
||||
#include "modules/temperature.hpp"
|
||||
#include "modules/text.hpp"
|
||||
#include "modules/unsupported.hpp"
|
||||
#include "modules/xbacklight.hpp"
|
||||
#include "modules/xwindow.hpp"
|
||||
|
||||
@ -45,6 +44,10 @@
|
||||
#include "modules/volume.hpp"
|
||||
#endif
|
||||
|
||||
#if not (ENABLE_I3 && ENABLE_MPD && ENABLE_NETWORK && ENABLE_ALSA)
|
||||
#include "modules/unsupported.hpp"
|
||||
#endif
|
||||
|
||||
POLYBAR_NS
|
||||
|
||||
using namespace modules;
|
||||
|
||||
Reference in New Issue
Block a user