feat: add debug about tray beta

pull/68/head
Alexis 2018-10-28 08:43:48 +01:00
parent 3f2eb0b492
commit daf613f8ca
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
waybar::modules::SNI::Tray::Tray(const Json::Value &config) waybar::modules::SNI::Tray::Tray(const Json::Value &config)
: config_(config), watcher_(), host_(&dp, config) : config_(config), watcher_(), host_(&dp, config)
{ {
std::cout << "Tray is in beta, so there may be bugs or even be unusable." << std::endl;
if (config_["spacing"].isUInt()) { if (config_["spacing"].isUInt()) {
box_.set_spacing(config_["spacing"].asUInt()); box_.set_spacing(config_["spacing"].asUInt());
} }