#!/bin/sh
# You can put options for xnc to ~/.xnc/cmdpars, for example -plugin aqua
# It'll probably change to some better method for next versions of xnc
# Debian package, but until woody+1 You should easily use this one ;-)

# my ~/.xnc/cmdpars looks like this (w/o "#" chars of course ;-)
# -plugin aqua
# -fn -*-fixed-medium-r-*-*-15-*-*-*-*-*-iso8859-2

# # #  finally the script  # # #
# we moved *.xnc stuff to /usr/lib/xnc and need to be able to reach it somehow
PATH=${PATH}:/usr/lib/xnc
export PATH
PARS=
if [ -r "$HOME/.xnc/cmdpars" ]; then
  PARS=`cat $HOME/.xnc/cmdpars`
fi

/usr/lib/xnc/xnc -plugin five +ls $PARS $*
