#!/bin/sh bspc subscribe node_focus desktop_focus | while read -a msg ; do _output="$(show-windows)" clear echo "$_output" done