Skip to content

Conversation

@my4ng
Copy link
Contributor

@my4ng my4ng commented Jan 5, 2026

This attempts to implement #932 based on #932 (comment), by (fake) pinning windows to a monitor across its workspaces. More concretely, this means all pinned windows are moved to the new workspace on switching, without introducing a new PinnedSpace or duplicating windows across workspaces.

Since pinned windows are just normal windows, navigation between windows remains the same as before. The disadvantage is that pinned windows only appear on the focused workspace in overview, and pinned windows are animated alongside the new workspace on workspace switching.

Currently, as long as the pinned windows are on the active workspace and floating, regardless of their status when pinned, they will be moved to the newly switched workspace, otherwise they will be unpinned.

Windows can be pinned via the ToggleWindowPinned action, e.g.

binds {
    Mod+P { toggle-window-pinned; }
    ...
}

NOTE: This is only a solution to pinned windows, but IMO much, much simpler than alternative designs. Please check it out and provide feedback on the design/pinning behaviour logic if you are interested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant