Skip to content

Don't create an empty workspace #9

@antoyo

Description

@antoyo

Hi.
I really like this tool, thanks for making it.

I do have a minor annoyance with it though: the monitor that did not have focus will have a new empty workspace created.
For instance, if monitor HDMI-1 had workspaces 1 and 3 and monitor DVI-D-1 has workspace 2 and the focus is on workspace 3 and I unplug HDMI-1 and plug it back, I will end up with a new workspace 10 on DVI-D-1 which is empty.
If the focus was on workspace 2 (or any monitor that stays connected), no new workspace will be created.

Here's my config:

{
    "outputs": [
        {
            "name": "HDMI-1",
            "xrandr": ["--primary"],
            "workspaces": [ "1", "3", "5", "7", "9" ]
        },
        {
            "name": "DVI-D-1",
            "xrandr": ["--right-of", "HDMI-1"],
            "workspaces": [ "2", "4", "6", "8", "10" ]
        }
    ]
}

I had a similar issue before using this tool, so maybe it's not caused by this tool.

Have you noticed this issue?
Is this normal?

Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions