/* -*-C-*- */

server="localhost";
port=3490;

user="<user>";
pass="<password>";

/*
 * if theme and icon aren't defined, wmpeople uses "bullets" theme and "red"
 * icon as default. there's no way to define either the theme or the icon; in
 * other words, either none or both of them are required.
 */

theme("bullets"); /* theme */

icon("blue");  /* default icon */

/*
 * if an associated icon doesn't exist, wmpeople falls back to the default
 * icon; in this way, wmpeople can use themes that implements a subset of icons
 * without have to change the configuration file.
 */

icon("red") = {	  /* icon red is associated to "id1" and "id2" identities */
	id1, id2
};

icon("green") = {
	id3, id4, id5
};

/*
 * this is a fallback command; whenever arrives a message to an identity that
 * doesn't specify an associated command this one is executed.
 *
 * WARN: wmpeople executes this command only once, disregarding if more than
 * one icon may have triggered the default command.
 */

exec("/usr/X11R6/bin/xmessage -timeout 10 default message"); /* default command */

exec("/usr/X11R6/bin/xmessage -timeout 10 id1") = { /* action to be executed when id1 goes on */
	id1
};

exec("/usr/X11R6/bin/xmessage -timeout 10 id2") = { /* action to be executed when id2 goes on */
	id2
};

/*
 * WARN: wmpeople executes this command only once, disregarding if more than
 * one identity may have triggered the command.
 */

exec("/usr/X11R6/bin/xmessage -timeout 10 ids") = { /* action to be executed when id4, id5 or id6 go on */
	id4, id5, id6
};
