6 lines
269 B
Bash
Executable file
6 lines
269 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
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
|
|
hyprctl workspaces -j | jq -c '[.[].id] | sort | map(tostring)'
|
|
done
|