Script pour inverser les espaces de travail sur les moniteurs Hyprland

This commit is contained in:
Hippolyte Chauvin 2023-05-09 23:04:38 +02:00
parent 9b39ebddf3
commit 7820fa022e

4
bin/hyprland-swap_workspaces Executable file
View file

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