1#!/usr/bin/env bash 2 3@wmmsg@ -t get_tree \ 4 | jq -r 'recurse(.nodes[], .floating_nodes[];.nodes!=null) | select(.focused==true).id'