hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.61k stars 827 forks source link

Allow movecurrentworkspacetomonitor to wrap around #7023

Open Ghosthree3 opened 1 month ago

Ghosthree3 commented 1 month ago

Description

If I have three monitors, L M R, and I have a workspace on the L monitor and move it left, have it appear on the R monitor.

UltraBlackLinux commented 1 month ago

I see no problem here.

movecurrentworkspacetomonitor takes a monitor, not a direction. There is nothing to wrap around since it takes absolute values

Ghosthree3 commented 1 month ago

movecurrentworkspacetomonitor takes a monitor, not a direction.

What? Yes it does, I use these binds every day.

bind = $mainMod SHIFT ALT, left, movecurrentworkspacetomonitor, l
bind = $mainMod SHIFT ALT, right, movecurrentworkspacetomonitor, r
bind = $mainMod SHIFT ALT, up, movecurrentworkspacetomonitor, u
bind = $mainMod SHIFT ALT, down, movecurrentworkspacetomonitor, d
UltraBlackLinux commented 1 month ago

ah I see, my bad in the wiki, a monitor is defined as multiple things

One of: direction, ID, name, current, relative (e.g. +1 or -1)