[eww] Sort workspaces
This commit is contained in:
parent
866c052c26
commit
1ce5d3c2b2
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
hyprctl workspaces -j | jq -c '[.[].id] | map(tostring)'
|
hyprctl workspaces -j | jq -c '[.[].id] | sort | map(tostring)'
|
||||||
socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do
|
socat -u UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock - | while read -r line; do
|
||||||
hyprctl workspaces -j | jq -c '[.[].id] | map(tostring)'
|
hyprctl workspaces -j | jq -c '[.[].id] | sort | map(tostring)'
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue