#!/bin/sh # show XTerm size ( columns x rows ) and placement echo $(tput cols) x $(tput lines) @ \ $(xdotool getwindowfocus getwindowgeometry | awk '/Pos/{print $2}')