Sublime Forum

Command line option to set class or instance WM hints

#1

In the context of tiling window managers it would be useful if sublime text had a command line option that would allow the user to override the class or instance properties (WM_CLASS under Linux) of the window being launched.

This would allow for the window manager to differentiate between sublime windows when they spawn - a simple example would be to place certain projects on designated workspaces.

Currently, as far as I can tell, there are no properties that allow the window manager to do this as the WM_CLASS hint is the same for all of them and the window title is never set initially regardless of how the window is opened (using --project, --launch-or-new-window, opening a specific file, etc.).

0 Likes