From 07696f7f8d2681c3c9d4d0d2f99c679cb941e8e7 Mon Sep 17 00:00:00 2001 From: zjeffer <4633209+zjeffer@users.noreply.github.com> Date: Sun, 4 Jun 2023 23:02:04 +0200 Subject: [PATCH] chore: fix deprecated wsbind keyword by renaming to workspace --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 503eef5..023da5b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -71,7 +71,7 @@ void mapWorkspacesToMonitors() for (int i = workspaceIndex; i < workspaceIndex + workspaceCount; i++) { std::string workspaceName = std::to_string(i); g_vMonitorWorkspaceMap[monitor->ID].push_back(workspaceName); - HyprlandAPI::invokeHyprctlCommand("keyword", "wsbind " + workspaceName + "," + monitor->szName); + HyprlandAPI::invokeHyprctlCommand("keyword", "workspace " + workspaceName + "," + monitor->szName); CWorkspace* workspace = g_pCompositor->getWorkspaceByName(workspaceName); if (workspace != nullptr) {