-
-
Notifications
You must be signed in to change notification settings - Fork 692
Add open-sticky window rule for sticky floating windows across workspaces #3302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
From a quick skim, this looks like a less-featureful PR compared to #3205, which even supports pinning non-floating window. |
the PR actually also allows non picture on picture or non-floating windows to be sticky too, my main objective was to be able to make a picture on picture window or a terminal sticky, I tested both and they're working flawlessly. I also added the action |
|
quick question, can sticky windows go above fullscreen windows ? |
|
nothing can go above fullscreen windows |
dam really ? iS there no way at all to have an additional layer above fullscreen window for that ? I do know that wayland layers can do it but ik that it's not exactly the same thing |
|
You can have windows above full width columns, maximized-to-edges, but not fullscreen windows |
|
A proper sticky impl will go above fullscreen windows. The sticky impl on top of the regular floating layer can't do that |
|
I updated the pull request to show the sticky windows above the fullscreen windows/video players, unsticking a window will make it go back to it's original workspace/position if the position is unavailable it'll go to the nearest position in same workspace.
|
Summary
open-stickywindow rule to keep a window visible across all workspaces on the current outputtoggle-window-stickyaction to toggle stickiness via keybindsmatch is-sticky=truerule for matching sticky windowsis_stickyin IPC window infoTesting
cargo test -p niriopen-sticky true, toggle stickiness via keybind, and verify it stays visible across workspace switchesNotes
open-stickyimpliesopen-floating