fvwm-crystal calendar files
Autor: Jarbas Araujo Jr | Publicado: 2007-06-12T12:06:00-07:00

Dois arquivos de um script para adicionar um calendário translúcido no fvwm-crystal.Screenshot com o calendário:Calendar:## This file have some lines that must be included on your recipes-script ( that you use - TopDown for me )# located on /usr/share/fvwm-crystal/fvwm/recipes/ so that it can load the adaptation of the Calendar-Script# that you can download from the same place where you get this one.# Or send a message to jarbasaraujojr at yahoo dot com dot br## Calendar {{{1All (FvwmButtons-Calendar) CloseDestroyModuleConfig FvwmButtons-Calendar: **FvwmButtons-Calendar: Geometry -1+1*FvwmButtons-Calendar: BoxSize smart*FvwmButtons-Calendar: ActiveColorset $[cs-panel-active]*FvwmButtons-Calendar: Colorset $[cs-panel-inactive]*FvwmButtons-Calendar: Columns 2*FvwmButtons-Calendar: Padding 2 2*FvwmButtons-Calendar: Frame 0*FvwmButtons-Calendar: (2x1, Size 150 200, Swallow (Close, Respawn, FvwmModule) "Calendar-Script")Module FvwmButtons FvwmButtons-CalendarScript components/scripts/Calendar-ScriptCalendar-Script:## This file was adapted by Jarbas Araujo ( jarbasaraujojr at yahoo dot com dot br )# to act like a nice translucent calendar to fvwm-crystal# It was made to be ok on a 1280 x 1024 desktop. May need some adjusts on other resolutions#WindowTitle {Calendar}WindowSize 150 200Colorset 1Font  "shadow=0 se:xft:Courier:Bold:size=12"InitBeginSet $PROG = "/usr/bin/cal"Set $text1 = (GetOutput $PROG 1 -1)ChangeTitle 1 $text1Set $text2 = (GetOutput $PROG 2 -1)ChangeTitle 2 $text2Set $text3 = (GetOutput $PROG 3 -1)ChangeTitle 3 $text3Set $text4 = (GetOutput $PROG 4 -1)ChangeTitle 4 $text4Set $text5 = (GetOutput $PROG 5 -1)ChangeTitle 5 $text5Set $text6 = (GetOutput $PROG 6 -1)ChangeTitle 6 $text6Set $text7 = (GetOutput $PROG 7 -1)ChangeTitle 7 $text7Set $text8 = (GetOutput $PROG 8 -1)ChangeTitle 8 $text8EndPeriodicTasksBegin If (RemainderOfDiv (GetTime) 60)==0 Then Begin EndEndWidget                  1PropertyType            ItemDrawSize            150 35Position        0 0Font            "shadow=0 se:xft:Sans serif:Bold:size=14:color=d5dee7"Flags           NoFocus NoReliefString CenterForeColor {white}Colorset 1MainCase message ofSingleClic:BeginEndEndWidget                  2Property Type            ItemDraw Size            150 35 Position        0 25 Flags           NoFocus NoReliefString CenterForeColor {white}Colorset 1MainCase message ofSingleClic:BeginEndEndWidget                  3Property Type            ItemDraw Size            150 35 Position        0 50 Flags           NoFocus NoReliefString CenterForeColor {white}Colorset 1MainCase message ofSingleClic:BeginEndEndWidget                  4Property Type            ItemDraw Size            150 35 Position        0 75 Flags           NoFocus NoReliefString CenterForeColor {white}Colorset 1MainCase message ofSingleClic:BeginEndEndWidget                  5Property Type            ItemDraw Size            150 35 Position        0 100 Flags           NoFocus NoReliefString CenterBackColor {#C2D2EB}ForeColor {white}Colorset 1MainCase message ofSingleClic:BeginEndEndWidget                  6Property Type            ItemDraw Size            150 35 Position        0 125 Flags           NoFocus NoReliefString CenterBackColor {#C2D2EB}ForeColor {white}Colorset 1MainCase message ofSingleClic:BeginEndEndWidget                  7Property Type            ItemDraw Size            150 35 Position        0 150 Flags           NoFocus NoReliefString CenterBackColor {#C2D2EB}ForeColor {white}Colorset 1MainCase message ofSingleClic:BeginEndEndWidget                  8Property Type            ItemDraw Size            150 35 Position        4 175 Flags           NoFocus NoReliefString LeftBackColor {#C2D2EB}ForeColor {white}Colorset 1