#!/bin/sh
# window_shown has to be in your path

if window_shown 'XMMS Playlist'; then
 xmmsctrl play_list 0
else
 xmmsctrl play_list 1
fi
