mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
Update client.cpp
This commit is contained in:
parent
4eb462426d
commit
4a80874da9
@ -70,9 +70,8 @@ bool waybar::Client::isValidOutput(const Json::Value &config, struct waybar_outp
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (config["output"].isString()) {
|
||||
return false;
|
||||
} else if (config["output"].isString()) {
|
||||
auto config_output_name = config["output"].asString();
|
||||
if (!config_output_name.empty()) {
|
||||
if (config_output_name.substr(0, 1) == "!") {
|
||||
|
Loading…
Reference in New Issue
Block a user