1
0
Fork 0
forked from ahurac/dotfiles

hyprswapworkspaces : nouveau nom de hyprland-swap_workspaces

This commit is contained in:
Ahurac 2024-01-07 22:30:25 +01:00
parent 187c0f3b8e
commit 262fe57648
2 changed files with 3 additions and 3 deletions

View file

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

3
bin/hyprswapworkspaces Executable file
View file

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