#
# golem pier plugin, similar to windowmaker's dock
# or afterstep's wharf
#

load "pier" {
	param "singleclick"	"false"; # false is default
	param "nodragging"	"false"; # false is default

	param "pier" "vertical" {
		param "screen"	"0";
		param "x"	"-1";	# -1 means as far as possibile & fitting in screen
		param "y"	"0";

		param "item" "launch" {
			param "cmd" "exec xterm";
			fileparam "pixmap" "daemon.xpm";
		}
		param "item" "launch" {
			param "cmd" "exec netscape";
			fileparam "pixmap" "netscape.xpm";
		}
		# this is how to do wmaker-style dock apps
		#param "item" "dock" {
		#	param "cmd" "exec wmmixer -w";
		#	param "class" "wmmixer.WMMixer";
		#}
	}

	param "pier" "horizontal" {
		# default screen, x == 0
		param "y"	"-1";

		param "item" "swallow" {
			param "cmd" "exec xeyes -geometry 42x42";
			param "class" "xeyes.XEyes";
		}
		param "item" "swallow" {
			param "cmd" "exec xclock -fg black -bg darkgrey -hl red -geometry 40x40 -padding 0";
			param "class" "xclock.XClock";
		}
	}
}
