Fullscreen TV

Here is a script witch allow to use a 8/5 screen to see 4/3 TV programs. SECAM is a pattern extracted from the title of the windows showing the TV.

#! /bin/sh
xrandr -s 640x480
wmctrl -r SECAM -e 0,0,-48,640,576