# Support for trayer-srg
# Written by: Dominique Michel <dominique_libre@users.sourceforge.net>
# for FVWM-Crystal, 2013
#
# Version with parameters instead of the environment
# Trayer Syntax:
# NotificationAera [widthtype <request|pixel|percent>] [heighttype <request|pixel|percent>] \
# [height <size>] [edge <left|right|top|bottom|none>] [align <left|right|center>] \
# [margin <n pixels>] [distance <n pixels>] [width <size>]
AddToFunc ExitFunction I Exec exec killall trayer
# Settings of Trayer {{{1
DestroyFunc FvwmTrayerPanel
AddToFunc FvwmTrayerPanel
+ I Exec exec trayer-srg \
--SetDockType false \
--widthtype $[0] \
--heighttype $[1] \
--height $[2] \
--edge $[3] \
--align $[4] \
--transparent true \
--alpha $[TrayerAlpha] \
--tint $[TrayerTint] \
--margin $[5] \
--distance $[6] \
$[7] $[infostore.SILENT]
+ I Style trayer-srg !Title, !Icon
# vim:ft=fvwm