diff options
author | dakkar <dakkar@thenautilus.net> | 2009-08-13 21:37:24 +0200 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2009-08-13 21:37:24 +0200 |
commit | 3e90bbfaec0953f2ef74fa2827ac41678ee11dee (patch) | |
tree | 250eeabe93487d458172f3c61a08d646c021e2fc /components/scripts | |
download | fvwm-crystal-3e90bbfaec0953f2ef74fa2827ac41678ee11dee.tar.gz fvwm-crystal-3e90bbfaec0953f2ef74fa2827ac41678ee11dee.tar.bz2 fvwm-crystal-3e90bbfaec0953f2ef74fa2827ac41678ee11dee.zip |
importing Crystal config into git
Diffstat (limited to 'components/scripts')
-rwxr-xr-x | components/scripts/FvwmScript-Clock-dakkar | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/components/scripts/FvwmScript-Clock-dakkar b/components/scripts/FvwmScript-Clock-dakkar new file mode 100755 index 0000000..a298848 --- /dev/null +++ b/components/scripts/FvwmScript-Clock-dakkar @@ -0,0 +1,38 @@ +WindowTitle {FvwmScript-Clock} +WindowSize 165 20 +Font "xft:Tahoma:pixelsize=12:Bold" +Colorset 1 + +Init + Begin + + Set $tmp = (GetOutput {exec date "+%Y-%m-%d %a %H:%M"} 1 -1) + + ChangeTitle 1 $tmp +End + +PeriodicTasks + Begin + If (RemainderOfDiv (GetTime) 60)==0 Then + Begin + + Set $tmp = (GetOutput {exec date "+%Y-%m-%d %a %H:%M"} 1 -1) + + ChangeTitle 1 $tmp + End +End + +Widget 1 +Property + Position 0 -3 + Size 165 20 + Type ItemDraw + Flags NoReliefString + Title {} + Colorset 1 +Main + Case message of + SingleClic : + Begin + End +End |