fixup! modules/custom: Allow json fields as format specifiers

This commit is contained in:
Tobias Manske 2023-09-07 02:49:43 +02:00
parent 165814a57f
commit a194755b4f
Signed by: tobias
GPG Key ID: 9164B527694A0709

View File

@ -193,7 +193,6 @@ void waybar::modules::Custom::parseOutputJson() {
getline(output, line); getline(output, line);
class_.clear(); class_.clear();
auto parsed = parser_.parse(line); auto parsed = parser_.parse(line);
parsed = parser_.parse(line);
// Preserve order so that first "{}" is resolved to "text" for backwards compatability // Preserve order so that first "{}" is resolved to "text" for backwards compatability
if (parsed["text"].isString()) { if (parsed["text"].isString()) {