This is a plugin for PowerToys Run that allows you to launch Edge workspaces.
- Download the latest release.
- Extract the contents to
%LOCALAPPDATA%\Microsoft\PowerToys\PowerToys Run\Plugins, or where PowerToys is installed . - Restart PowerToys Run and enable the plugin in the settings.
- Build the project.
- Modify and run
debug.ps1. - Attach to the process
PowerToys.PowerLauncher.
The architecture is heavily based on the PowerToys VSCodeWorkspaces plugin. The plugin itself relies on the following files:
WorkspacesCacheto read workspaces' IDs (...\User Data\Profile\Workspaces\WorkspacesCache)Preferencesto read profiles' name and type at (...\User Data\Profile\Preferences)
The plugin then launches the workspace by starting a new Edge process with the workspace ID as an argument equivalent to the following:
msedge.exe --profile-directory=Default --launch-workspace=$workspaceIdIf there is no existing Edge process for the corresponding profile, an empty Edge window will be opened and the workspace will be launched.
