Skip to content

Focus stuck on wrong monitor after boot #208

@Me-Phew

Description

@Me-Phew

Is there a way to set which monitor (or workspace) is focused on plugin startup?

With the setup below I end up with my secondary monitor (DP-3, which would be workspace 11 in this case) focused initially after boot.

Removing plugin reload (exec-once = hyprpm reload -n) makes the focus stay on the primary monitor (DP-1, workspace 1) after boot even without any dispatch commands.

monitor=DP-1, 2560x1440@164.96, 1920x0, 1
monitor=DP-3, 1920x1080@74.00, 0x0, 1

plugin {
    split-monitor-workspaces {
        count = 10
        keep_focused = 1
        enable_notifications = 1
        enable_persistent_workspaces = 1
        enable_wrapping = 1
    }
}

exec-once = hyprpm reload -n
exec-once = hyprctl dispatch focusmonitor DP-1 # Does nothing
exec-once = hyprctl dispatch workspace 1 # Also nothing

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions