#!/usr/bin/perl use Tk; use Tk::Clock; my $m = MainWindow->new(); #$m -> geometry("70x30+930+740"); #with date $m -> geometry("70x15+940+755"); #no date $m->overrideredirect(1); #no xterm decorations my $c = $m->Clock (-background => "Black"); $c->config ( useAnalog => 0, useDigital => 1, # tickColor => "Orange", # handColor => "Red", # secsColor => "Green", timeColor => "lightBlue", # timeFormat => "hh:MM A", timeFormat => "HH:MM:SS", # dateColor => "Gold", # dateFormat => "m/d/y", timeFont => "-misc-fixed-medium-r-normal--13-*-75-75-c-*-iso8859-1", ); $c->pack; MainLoop;