# Script by Alan 'qole' Bruce # with help from DaithiF on ubuntuforums.org for # the xprop | awk command to return the active window. ACTIVEWINID=`xprop -root | awk '/NET_ACTIVE_WINDOW/ { print $5; exit }'` sudo /sbin/qobi-wmhint-fix $ACTIVEWINID sudo /usr/bin/set-focus $ACTIVEWINID