mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 13:05:58 +01:00
Fix VRR JSON output in hyprctl monitors (#1562)
This commit is contained in:
parent
dbfa6eea7b
commit
be2e4d9dd1
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ std::string monitorsRequest(HyprCtl::eHyprCtlOutputFormat format) {
|
||||||
"transform": %i,
|
"transform": %i,
|
||||||
"focused": %s,
|
"focused": %s,
|
||||||
"dpmsStatus": %s,
|
"dpmsStatus": %s,
|
||||||
"vrr: %s"
|
"vrr": %s
|
||||||
},)#",
|
},)#",
|
||||||
m->ID, escapeJSONStrings(m->szName).c_str(), escapeJSONStrings(m->output->description ? m->output->description : "").c_str(),
|
m->ID, escapeJSONStrings(m->szName).c_str(), escapeJSONStrings(m->output->description ? m->output->description : "").c_str(),
|
||||||
(m->output->make ? m->output->make : ""), (m->output->model ? m->output->model : ""), (m->output->serial ? m->output->serial : ""), (int)m->vecPixelSize.x,
|
(m->output->make ? m->output->make : ""), (m->output->model ? m->output->model : ""), (m->output->serial ? m->output->serial : ""), (int)m->vecPixelSize.x,
|
||||||
|
|
Loading…
Reference in a new issue