#!/bin/bash
#this script is started from $HOME/.jwmrc

export TEXTDOMAIN=jwm
export OUTPUT_CHARSET=UTF-8

echo '
<JWM>
	<Program label="'$(gettext 'Set time and date')'" icon="/usr/share/pixmaps/puppy/date_time.svg">set-time-for-puppy</Program>
	<Program label="'$(gettext 'Clock format')'" icon="/usr/share/pixmaps/puppy/clock.svg">/usr/local/jwm_config/tray -clock</Program>
	<Program label="'$(gettext 'Set timezone')'" icon="/usr/share/pixmaps/puppy/country_timezone.svg">timezone-set</Program>
	<Separator/>'
	[ "`which minixcal`" ] && echo '<Program label="'$(gettext 'Calendar')'" icon="/usr/share/pixmaps/puppy/calendar.svg">minixcal</Program>'
	[ "`which pschedule`" ] && echo '<Program label="'$(gettext 'Task sheduler')'" icon="/usr/share/pixmaps/puppy/clock_interval.svg">pschedule</Program>'
	[ "`which pclock`" ] && echo '<Program label="'$(gettext 'Time tools')'" icon="/usr/share/pixmaps/puppy/clock_alarm.svg">pclock</Program>'
echo '</JWM>'
