mirror of
https://github.com/polybar/polybar.git
synced 2026-02-22 13:55:45 +00:00
fix(build): Optional XKB
This commit is contained in:
@ -23,7 +23,6 @@
|
||||
#include "modules/temperature.hpp"
|
||||
#include "modules/text.hpp"
|
||||
#include "modules/xbacklight.hpp"
|
||||
#include "modules/xkeyboard.hpp"
|
||||
#include "modules/xwindow.hpp"
|
||||
#include "modules/xworkspaces.hpp"
|
||||
#include "utils/process.hpp"
|
||||
@ -41,8 +40,11 @@
|
||||
#if ENABLE_ALSA
|
||||
#include "modules/volume.hpp"
|
||||
#endif
|
||||
#if WITH_XKB
|
||||
#include "modules/xkeyboard.hpp"
|
||||
#endif
|
||||
|
||||
#if not(ENABLE_I3 && ENABLE_MPD && ENABLE_NETWORK && ENABLE_ALSA)
|
||||
#if not(ENABLE_I3 && ENABLE_MPD && ENABLE_NETWORK && ENABLE_ALSA && WITH_XKB)
|
||||
#include "modules/unsupported.hpp"
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user