about summary refs log tree commit diff stats
path: root/data/screensaver/clock.rb
blob: 6289c8096079d9d9347d7c12928908acecbcc78f (plain) (blame)
1
2
3
4
5
6
7
8
9
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