8 lines
454 B
Shell
8 lines
454 B
Shell
# Driver for tests/smoke/pip-loop.txt under tools/hidden.sh: records the nested niri's windows in each PiP round, then
|
|
# ends round 2 with Escape and round 3 by closing the focused (PiP) window.
|
|
for n in 1 2 3; do
|
|
for i in $(seq 240); do grep -q "^round-$n\$" "$OUT/selftest.log" 2>/dev/null && break; sleep 0.5; done
|
|
sleep 1
|
|
niri msg -j windows >"$OUT/windows-$n.json"
|
|
case $n in 2) key -k Escape ;; 3) niri msg action close-window ;; esac
|
|
done
|