diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 3cd09b1b..9462950d 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; }