Digital Clock

You can configure Digital Clock properties with these commands:


digital_clock_dim

digital_clock_xy

digital_clock_color

digital_clock_font

digital_clock_run


below you will find the description of each individual command.


digital_clock_dim (WIDTH) (EIGHT)


Set the dimension of the Digital Clock Widget, Width and Height are expressed in pixels.

Example

digital_clock_dim 300 100
#...

digital_clock_xy (X) (Y)


Set X and Y

Example

digital_clock_xy 10 10
#...

digital_clock_font (FONT_NAME) (DIMENSION)

Preinstalled TTF fonts:

demonstration

liquid

kamikaze

kamikaze3dgradient

login

leavenofingerprints

failed

failed3dfilled

lazenzycomputer

choda

musicals

qubio


Example

# set Font name, and Dimension
digital_clock_font liquid 45
#...

digital_clock_color (BACKGROUND) (FOREGROUND)


Example

# set color, background and foreground
digital_clock_color yellow black
#...

digital_clock_run


Complete Example:

digital_clock_color yellow black
digital_clock_font liquid 45
digital_clock_dim 300 100
digital_clock_xy 10 10
digital_clock_run
end_script
Powered by Sgneep.com