commit bb7ad4c4e74e287c2e2460764c6fd0ff5b85258c
parent af31fc6bb04f9d4039d0509dec8be049629b2acf
Author: Suraj N. Kurapati <sunaku@gmail.com>
Date: Thu, 14 May 2009 00:24:22 -0700
fix error in previous commit
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/config.rb b/config.rb
@@ -238,8 +238,7 @@ end
# Loads the given YAML configuration file.
#
def load_config config_file
- config_data = YAML.load_file(config_file)
- Object.const_set :CONFIG, config_data
+ Object.const_set :CONFIG, YAML.load_file(config_file)
# display
fo = ENV['WMII_FONT'] = CONFIG['display']['font']
@@ -265,7 +264,8 @@ def load_config config_file
# are ignored, and those that are supported are (silently)
# applied. but a "bad command" error is raised nevertheless!
#
- warn e.inspect, e.backtrace
+ warn e.inspect
+ warn e.backtrace
end
launch 'xsetroot', '-solid', CONFIG['display']['background']