Skip to content

Commit

Permalink
Fix incorrect docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dalyIsaac committed Aug 16, 2024
1 parent 895c46d commit ae2a9d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/customize/snippets.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ context.CommandManager.Add("move_window_to_monitor_2", "Move window to monitor 2

## Move a window to a specific workspace

The following command can be used to move the active window to a specific workspace. The index of the workspace is zero-based.
The following command can be used to move the active window to a specific workspace, using the workspace ID. The best way to get the workspace ID is to use the return value from the `Add` method on the `WorkspaceManager`.

```csharp
Guid? browserWorkspaceId = context.WorkspaceManager.Add("Browser workspace");
Expand Down

0 comments on commit ae2a9d0

Please sign in to comment.