mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fixup! modules/custom: Allow json fields as format specifiers
This commit is contained in:
parent
165814a57f
commit
a194755b4f
@ -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()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user