From 5fee59e19e46ccee891c96e8177afb7d4c400e57 Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 2 Jun 2015 16:16:36 +0100 Subject: update to fvwm-crystal 3.2.3 This update is big: upstream has simplified and refactored everything, so I had to move stuff around a lot. I now rely much more on the overlay system, instead of adding custom files all over the place. --- components/scripts/FvwmScript-Clock | 38 ++++++++++++++++++++++++++++++ components/scripts/FvwmScript-Clock-dakkar | 38 ------------------------------ 2 files changed, 38 insertions(+), 38 deletions(-) create mode 100755 components/scripts/FvwmScript-Clock delete mode 100755 components/scripts/FvwmScript-Clock-dakkar (limited to 'components/scripts') diff --git a/components/scripts/FvwmScript-Clock b/components/scripts/FvwmScript-Clock new file mode 100755 index 0000000..a298848 --- /dev/null +++ b/components/scripts/FvwmScript-Clock @@ -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 diff --git a/components/scripts/FvwmScript-Clock-dakkar b/components/scripts/FvwmScript-Clock-dakkar deleted file mode 100755 index a298848..0000000 --- a/components/scripts/FvwmScript-Clock-dakkar +++ /dev/null @@ -1,38 +0,0 @@ -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 -- cgit v1.2.3