bspwm/monitor_windows.sh

13 lines
194 B
Bash
Executable File

#!/bin/sh
tput civis
trap 'tput cnorm && exit' SIGINT
bspc subscribe node_focus desktop_focus | while read -a msg ; do
_output="$(show-windows "$@")"
clear
echo "$_output"
done
tput cnorm