diff options
author | hut <hut@lavabit.com> | 2009-07-24 03:33:44 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-07-24 03:33:44 +0200 |
commit | b7acb9cdd093dbaf0cbb033d78f91c3bd110a3f6 (patch) | |
tree | 890de85d1a233ea6f0fd4906af600053b8206a03 | |
parent | 09f18e9fbcc0e15a262f98ff9c01997f14add2b8 (diff) | |
download | ranger-b7acb9cdd093dbaf0cbb033d78f91c3bd110a3f6.tar.gz |
removed screensaver feature. I never use it.
-rw-r--r-- | code/draw.rb | 4 | ||||
-rw-r--r-- | code/keys.rb | 4 | ||||
-rw-r--r-- | data/screensaver/clock.rb | 10 | ||||
-rwxr-xr-x | ranger | 1 |
4 files changed, 1 insertions, 18 deletions
diff --git a/code/draw.rb b/code/draw.rb index 46ba298e..3103eeb3 100644 --- a/code/draw.rb +++ b/code/draw.rb @@ -196,9 +196,7 @@ module Fm @cur_y = get_boundaries(COLUMNS-2)[0] - if @buffer =~ /^block/ - screensaver - elsif @buffer =~ /^\?/ + if @buffer =~ /^\?/ cleari puti 0, " - - - Help - - -" if text = HELP[@buffer[1..-1]] diff --git a/code/keys.rb b/code/keys.rb index b7822d19..4d7aa2f7 100644 --- a/code/keys.rb +++ b/code/keys.rb @@ -466,9 +466,6 @@ module Fm @buffer.clear end - when /^block.*stop$/ - @buffer = '' - ## }}} ## Options {{{ @@ -619,7 +616,6 @@ module Fm /:[^<]*/ /[F/!].*/ /(r|ff|fr|cw|cm|co|cd|mv|gf).*/ - /b(l(o(c(k(.*)?)?)?)?)?/ /g(r(e(p(.*)?)?)?)?/ /m(k(d(i(r(.*)?)?)?)?)?/ /t(o(u(c(h(.*)?)?)?)?)?/ diff --git a/data/screensaver/clock.rb b/data/screensaver/clock.rb deleted file mode 100644 index 6289c809..00000000 --- a/data/screensaver/clock.rb +++ /dev/null @@ -1,10 +0,0 @@ -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 diff --git a/ranger b/ranger index 7f3602d2..77409233 100755 --- a/ranger +++ b/ranger @@ -90,7 +90,6 @@ opt = nil load File.exists?( x = File.expand_path( '~/.rangerrc' ) ) ? x : 'ranger.conf' load 'data/colorscheme/' + Option.colorscheme + '.rb' -load 'data/screensaver/clock.rb' include Debug |