cortile icon indicating copy to clipboard operation
cortile copied to clipboard

Automatically open applications on specific workspaces

Open yougotwill opened this issue 2 years ago • 1 comments

Hi, thanks for making this I've been using cortile for about 6 months now and have been loving it!

For me the last feature for a perfect setup on linux coming from macOS would be to set applications to open on a specific workspace. I see that i3 supports this but I still want to use regular xfce with cortile.

Keep up the awesome work 💪

Reference: https://i3wm.org/docs/userguide.html#assign_workspace

yougotwill avatar Apr 07 '24 05:04 yougotwill

Cortile already remembers the last window state and screen position (see #22, #44).

For me the last feature for a perfect setup on linux coming from macOS would be to set applications to open on a specific workspace.

It would be very easy to change the existing implementation so that it also remembers the last workspace of a window class, without having to "blow up" the existing cortile config.toml file.

However, I am not sure whether this behavior is desirable, as several identical applications (e.g. file browsers) may be intentionally opened across several workspaces.

In the future, however, there will be a possibility to use custom scripts that allow windows to be assigned to a desired workspace based on one or more predefined rules.

leukipp avatar May 03 '24 20:05 leukipp

This task should now be feasible. Please review cortile-addons and #65.

leukipp avatar Aug 16 '24 19:08 leukipp