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