On 2015年10月26日 11時24分, Ian Zimmerman wrote: >Is there a way to determine which window has the focus, from a script? xprop -root | grep '^_NET_ACTIVE_WINDOW'