quick commit

This commit is contained in:
2026-05-27 13:18:16 +02:00
parent 0549437776
commit db0aa8c0aa
4 changed files with 15 additions and 12 deletions
+2 -1
View File
@@ -6,6 +6,7 @@
#include <cstring>
#include <nlohmann/json.hpp>
#include <span>
#include <spdlog/spdlog.h>
#include <string>
#include <sys/socket.h>
#include <sys/un.h>
@@ -127,7 +128,7 @@ class HyprctlHelper {
}
static void dispatchWorkspace(int workspaceNumber) {
std::string command = "dispatch workspace " + std::to_string(workspaceNumber);
std::string command = "dispatch hl.dsp.focus({ workspace = \"" + std::to_string(workspaceNumber) + "\" })";
sendCommand(command);
}
};