aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoreriedaberrie <[email protected]>2023-02-17 02:37:38 -0800
committerGitHub <[email protected]>2023-02-17 10:37:38 +0000
commitbe2e4d9dd1e58991a4f54078a331cbcbd8265c7f (patch)
tree130d7b1a439b790ee7fb6c79bac5cfa5d311f16e
parentdbfa6eea7bf7a6f153cadf970719081e4ef729ee (diff)
downloadHyprland-be2e4d9dd1e58991a4f54078a331cbcbd8265c7f.tar.gz
Hyprland-be2e4d9dd1e58991a4f54078a331cbcbd8265c7f.zip
Fix VRR JSON output in hyprctl monitors (#1562)
-rw-r--r--src/debug/HyprCtl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index 3366cb33..b55bf43d 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -42,7 +42,7 @@ std::string monitorsRequest(HyprCtl::eHyprCtlOutputFormat format) {
"transform": %i,
"focused": %s,
"dpmsStatus": %s,
- "vrr: %s"
+ "vrr": %s
},)#",
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,