summary refs log tree commit diff stats
path: root/data
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-06-12 01:07:49 +0200
committerhut <hut@lavabit.com>2009-06-12 01:07:49 +0200
commit7fe5169680d000adb38ebcf20570f53a119bafc6 (patch)
treec390e0821f25e7a258da334ac41178ad2524874c /data
parent00ec77361efe9bf14042080bd6a16a4efaec831c (diff)
downloadranger-7fe5169680d000adb38ebcf20570f53a119bafc6.tar.gz
moved screensaver, cleanups
Diffstat (limited to 'data')
-rw-r--r--data/screensaver/clock.rb10
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