quick commit
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user