mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Update src/client.cpp
Co-Authored-By: Alex <alexisr245@gmail.com>
This commit is contained in:
parent
3ff1f28533
commit
9525663014
@ -77,7 +77,7 @@ bool waybar::Client::isValidOutput(const Json::Value &config, struct waybar_outp
|
||||
|
||||
if (config["output"].isArray()) {
|
||||
for (auto const &output_conf : config["output"]) {
|
||||
if (output_conf.isString()) {
|
||||
if (output_conf.isString() && check_output(output_conf.asString(), output)) {
|
||||
if(check_output(output_conf.asString(), output)) {
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user