From 73dc885e0bec7d96823508280266a6f534c27c9c Mon Sep 17 00:00:00 2001 From: Vaxry Date: Thu, 4 Jul 2024 20:52:12 +0200 Subject: [PATCH] fix trailing comme, thanks VirtCode --- src/debug/HyprCtl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index d45ca48d..4ea53b49 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -61,6 +61,8 @@ static std::string availableModesForOutput(CMonitor* pMonitor, eHyprCtlOutputFor result += std::format("\"{}x{}@{:.2f}Hz\",", m->pixelSize.x, m->pixelSize.y, m->refreshRate / 1000.0); } + trimTrailingComma(result); + return result; }