#!/bin/zsh

case $@ in
	clear)
		pid=$(< ~/.bosskey.pid)
		rm ~/.bosskey.pid
		kill $pid
		;;
	*)
		mplayer2 -loop 0 -ao null -fs ~/.bosskey.flv >/dev/null &
		echo $! > ~/.bosskey.pid
		;;
esac
