sway icon indicating copy to clipboard operation
sway copied to clipboard

Workspace wrapping for `move` command

Open tukusejssirs opened this issue 2 years ago • 1 comments

I have set focus_wrapping to workspace in order to cycle through windows in a workspace only.

Now, I miss a config for moving windows in a workspace only.

For example:

  • Let’s have two monitors (right and left) side by side, workspace one assigned to the right monitor and workspace to the left one.
  • Let’s set workspace_layout to tabbed.
  • Let’s have two windows (right and left) on workspace one.
  • Now, when I select the right window on the left monitor and move it right once, it splits the screen vertically, which is what I want.
  • However, when I move the right window on the left monitor once again to right, it is moved to the right window, which is not what I want. I want to let it move the the leftmost side of the left window (i.e. same workspace), either with screen vertically split (i.e. replace the left side of the split with the right side) OR simply create a new, leftmost tab.

Is this somehow possible with the current Sway config options? If not, could it be implemented please?

Thanks for your awesome work! :pray:

tukusejssirs avatar Nov 26 '22 12:11 tukusejssirs

Sorry, wrong repo. :man_facepalming:

Could someone move this issue to Sway repo please? Or should I simply close this issue and re-create it there? :pray:

tukusejssirs avatar Nov 26 '22 14:11 tukusejssirs

There should be something like workspace_only wrapping, because the current implementation just acts identically as yes. Am I missing something?

litoj avatar Sep 09 '23 14:09 litoj