shift_monitors
Swaps the workspaces of every screen in the given direction.
NOTE
the behavior can be hard to predict if you have more than 2 monitors (depending on your layout). If you use this plugin with many monitors and have some ideas about a convenient configuration, you are welcome 😉
TIP
On Niri, this plugin moves the active workspace to the adjacent monitor instead of swapping workspaces, as Niri workspaces are dynamic.
Example usage in hyprland.lua:
lua
hl.bind(mainMod .. " + O", hl.dsp.exec_cmd(pypr .. " shift_monitors +1"))
hl.bind(mainMod .. " + SHIFT + O", hl.dsp.exec_cmd(pypr .. " shift_monitors -1"))Commands
Loading commands...
Configuration
This plugin has no configuration options.