commit c03e7cadea6c2081bb10f212cf5b28f255799171 parent 0dcedb0c763cfa3bddf56817299835386764872b Author: Suraj N. Kurapati <sunaku@gmail.com> Date: Sat, 23 Sep 2006 18:23:10 -0700 [project @ 9dc10241d167a7716b777927845aa8bb12c1ed02] [project @ 128] fix status bar loop Diffstat:
HISTORY | | | 2 | +- |
wmiirc-config.rb | | | 3 | ++- |
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/HISTORY b/HISTORY @@ -3,7 +3,7 @@ This is a history of major changes to {my wmii configuration}[http://people.ucsc = 2006-09-23 -* Fixed event loop. It was forgotten when I transitioned to the new Ixp::Node#method_missing behavior on 2006-09-22. +* Fixed event & status bar loop. It was forgotten when I transitioned to the new Ixp::Node#method_missing behavior on 2006-09-22. * Thanks to Fredrik Ternerot for reporting this bug. diff --git a/wmiirc-config.rb b/wmiirc-config.rb @@ -414,7 +414,7 @@ Thread.new do sb.create! sb.colors = ENV['WMII_NORMCOLORS'] - sb.data.open do |f| + sb['data'].open('w') do |f| loop do diskSpace = `df -h ~`.split[-3..-1].join(' ') cpuLoad = File.read('/proc/loadavg').split[0..2].join(' ') @@ -427,6 +427,7 @@ Thread.new do end end + ## WM event loop FS['event'].open do |f|