diff options
Diffstat (limited to 'data/screensaver')
-rw-r--r-- | data/screensaver/clock.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/data/screensaver/clock.rb b/data/screensaver/clock.rb new file mode 100644 index 00000000..6289c809 --- /dev/null +++ b/data/screensaver/clock.rb @@ -0,0 +1,10 @@ +def screensaver + cleari + + str = Time.now.to_s + s = Fm.cols - str.size + s = 1 if s < 0 + + puti((Fm.lines.to_f/2).floor, s/2, str) +# puti(rand(Fm.lines), rand(Fm.cols), 'MEDITONSIN') +end |