Replies: 1 comment 1 reply
-
Hi! I think what you're looking for are the "send" variants of these commands: https://lgug2z.github.io/komorebi/cli/send-to-workspace.html?h=send+workspace Generally "move" commands will change the focus to the destination workspace and "send" commands will keep the focus on the origin workspace. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, first off thanks for komorebi!
Disclaimer: I looked through all issues and discussions and I couldn't find anything related to this.
Context
When a container is moved to a different workspace (could be on the same monitor, or different one) then the focus automatically follows this container and the workspace to which the container is moved will become the focused one.
I think the responsible code for this is in the
move_container_to_workspace
function (themonitor.load_focused_workspace(mouse_follows_focus)?;
):komorebi/komorebi/src/window_manager.rs
Lines 1361 to 1382 in 852d1f9
This function is invoked from here:
which indicates that follow is always
true
.Proposal
Would it be an idea to either;
true
so behavior doesn't change on existing users, but allows for customization.I'd even be willing to provide a PR with either approach if you're willing to accept this as a contribution?
Curious to learn what you think about this.
Stephanvs
Beta Was this translation helpful? Give feedback.
All reactions