#!/bin/sh ## Wine FPS monitor if [ $# -lt 1 ]; then cat<&1 | tee /dev/stderr | \ sed -un '/^trace:fps:/{s/.* \([^ ]*\)fps/\1/;p}' | \ osd_cat -l1 -f "-*-*-*-*-*-*-32-*-*-*-*-*-*-*" -O1 -c "yellow"