hyprctl
Workspaces
Get active workspace id:
hyprctl -j activeworkspace | jq .id
List clients on current workspace:
hyprctl -j clients | jq -r ".[] | select(.workspace.id==$(hyprctl -j activeworkspace | jq .id)) | .class,.title"
Get active workspace id:
hyprctl -j activeworkspace | jq .id
List clients on current workspace:
hyprctl -j clients | jq -r ".[] | select(.workspace.id==$(hyprctl -j activeworkspace | jq .id)) | .class,.title"