diff --git a/bin/hyprland-swap_workspaces b/bin/hyprland-swap_workspaces deleted file mode 100755 index 5dbc11f..0000000 --- a/bin/hyprland-swap_workspaces +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -hyprctl monitors | awk '($1 == "Monitor") { print $2 }' | xargs hyprctl dispatch swapactiveworkspaces - diff --git a/bin/hyprswapworkspaces b/bin/hyprswapworkspaces new file mode 100755 index 0000000..3ee0f7d --- /dev/null +++ b/bin/hyprswapworkspaces @@ -0,0 +1,3 @@ +#!/bin/sh -x +monitors=$(hyprctl monitors | awk '($1 == "Monitor") { print $2 }' | xargs) +hyprctl dispatch swapactiveworkspaces $monitors