1#!/usr/bin/env bash 2 3ID=0 4 5while [[ "$ID" != "$PREV_ID" ]]; do 6 PREV_ID=$ID 7 # this is not very efficient... 8 ID=$($(dirname "$0")/get_cur_focus_id.sh) 9 echo $ID 10 @wmmsg@ focus parent 11done 12