mirror of
https://github.com/Trensa-Organization/split-monitor-workspaces.git
synced 2025-03-15 11:13:39 +01:00
chore: fix deprecated wsbind keyword by renaming to workspace
This commit is contained in:
parent
3c43f82122
commit
07696f7f8d
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue