Réécriture du script pour swapper les espaces de travail

This commit is contained in:
Hippolyte Chauvin 2023-05-10 08:01:55 +02:00
parent 13e7ad3d31
commit f0756d4d4c

View file

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