WindowTitle {FvwmScript-Clock}
WindowSize  60 22
Font		"xft:Tahoma-12:Bold"
Colorset 1

Init
 Begin
  Set $tmp = (GetOutput {exec date "+%R"} 1 -1)
  ChangeTitle 1 $tmp
End

PeriodicTasks
 Begin 
  If (RemainderOfDiv (GetTime) 30)==0 Then
  Begin
    Set $tmp = (GetOutput {exec date "+%R"} 1 -1)
    ChangeTitle  1 $tmp
  End
End

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