mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-17 04:53:48 -07:00
output valid json when there are no clients
This commit is contained in:
@@ -102,6 +102,7 @@ R"#({
|
|||||||
}
|
}
|
||||||
|
|
||||||
// remove trailing comma
|
// remove trailing comma
|
||||||
|
if (result != "[")
|
||||||
result.pop_back();
|
result.pop_back();
|
||||||
|
|
||||||
result += "]";
|
result += "]";
|
||||||
|
Reference in New Issue
Block a user