WindowTitle {FvwmScript-MailCounter}
WindowSize  24 24
Font		"xft:Tahoma-12:Bold"
Colorset 1

Init
 Begin
  Set $tmp = (GetOutput {exec fvwm-crystal.mail $MAIL} 1 -1)
  ChangeTitle 1 $tmp
End

PeriodicTasks
 Begin 
  If (RemainderOfDiv (GetTime) 60)==0 Then
  Begin
    Set $tmp = (GetOutput {exec fvwm-crystal.mail $MAIL} 1 -1)
    ChangeTitle  1 $tmp
  End
End

Widget 1
Property
 Position 0 -2
 Size 24 24
 Type ItemDraw
 Flags NoReliefString
 Title {}
 Colorset 1
Main
 Case message of
  SingleClic :
  Begin
  End
End

