Skip to content
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

Feature: move-node-to-monitor #133

Closed
canadaduane opened this issue Jan 24, 2024 · 3 comments
Closed

Feature: move-node-to-monitor #133

canadaduane opened this issue Jan 24, 2024 · 3 comments
Milestone

Comments

@canadaduane
Copy link

I have two monitors, and at any given time, I would like the ability to "splat" a window to the other monitor--in other words, I don't particularly care which workspace is currently on that monitor, I just want the window to be moved to whatever workspace is current there.

In addition, I'd like to be able to use directional motions, similar to focus --boundaries all-monitors-outer-frame <dir>.

Would it be possible to add move-node-to-monitor [left | right | down | up] ?

@nikitabobko
Copy link
Owner

I agree that it'd be nice to have this command

I suggest the following synopsis:

USAGE: move-node-to-monitor (left|down|up|right)
   OR: move-node-to-monitor [--wrap-around] (next|prev)
   OR: move-node-to-monitor <monitor-pattern>...

ARGUMENTS:
  <monitor-pattern>     Find the first monitor pattern in the list that
                        doesn't describe the current monitor and moves the window
                        to the appropriate monitor. Monitor pattern as in
                        workspace-to-monitor-force-assignment

For the reference, that's how it's implemented in i3 https://i3wm.org/docs/userguide.html#move_to_outputs

move container to output left|right|down|up|current|primary|nonprimary|next|<output1> [output2]…

@yshenfab
Copy link

Same here. Multi-monitor support is not very intuitive (change focus between monitors, move nodes to monitor with left/right options, etc.). For now, the easy way is to use two external monitors as workspaces, then you can easily switch workspaces, change focus, or move containers.

@nikitabobko
Copy link
Owner

move-node-to-monitor is introduced in 0.9.0

jakenvac pushed a commit to jakenvac/AeroSpace that referenced this issue Aug 16, 2024
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

No branches or pull requests

3 participants