#!/bin/sh wid=$1 class=$2 instance=$3 echo "$wid|$class|$instance" >> ~/tmp/rules.log if [ "$instance" = Mutt ] ; then echo 'desktop=^9' fi