dotfiles/bin/hyprswapworkspaces

3 lines
137 B
Bash
Executable file

#!/bin/sh -x
monitors=$(hyprctl monitors | awk '($1 == "Monitor") { print $2 }' | xargs)
hyprctl dispatch swapactiveworkspaces $monitors