only return a bluetooth module from factory if the rfkill feature is enabled.

This commit is contained in:
wjoe
2020-08-14 20:59:30 +02:00
parent 4565f7f8b9
commit 4d775008df
2 changed files with 5 additions and 1 deletions

View File

@ -43,7 +43,9 @@
#include "modules/custom.hpp"
#include "modules/temperature.hpp"
#if defined(__linux__)
#include "modules/bluetooth.hpp"
# ifdef WANT_RFKILL
# include "modules/bluetooth.hpp"
# endif
#endif
namespace waybar {