at master 188 B view raw
1#!/usr/bin/env bash 2 3echo "$(\ 4 @wmmsg@ -t get_tree\ 5 | jq -r '.. 6 | select(.pid? and .visible?) 7 | .rect 8 | "\(.x),\(.y) \(.width)x\(.height)"'\ 9 | slurp 10)"