1 | #! perl | 1 | #! perl |
---|---|---|---|
2 | 2 | ||
3 | # this creates a simple digital clock | 3 | =head1 NAME |
4 | |||
5 | digital-clock - display a digital clock overlay | ||
6 | |||
7 | =head1 DESCRPTION | ||
8 | |||
9 | Displays a digital clock using the built-in overlay. | ||
10 | |||
11 | =cut | ||
4 | 12 | ||
5 | sub on_start { | 13 | sub on_start { |
6 | my ($self) = @_; | 14 | my ($self) = @_; |
7 | 15 | ||
8 | $self->{overlay} = $self->overlay (-1, 0, 8, 1, urxvt::OVERLAY_RSTYLE, 0); | 16 | $self->{overlay} = $self->overlay (-1, 0, 8, 1, urxvt::OVERLAY_RSTYLE, 0); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |