oops
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
dcae7a3410
commit
ac5ea1ad6d
|
@ -152,6 +152,9 @@ Dir.new("#{config['mod_dir']}").each_child do |m|
|
||||||
load("#{config['mod_dir']}/#{m}")
|
load("#{config['mod_dir']}/#{m}")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Signal.trap("INT") do cleanup; end
|
||||||
|
Signal.trap("TERM") do cleanup; end
|
||||||
|
|
||||||
config["panels"].each do |panelName, panelConf|
|
config["panels"].each do |panelName, panelConf|
|
||||||
pipe_r, pipe_w = IO.pipe
|
pipe_r, pipe_w = IO.pipe
|
||||||
|
|
||||||
|
@ -160,9 +163,6 @@ config["panels"].each do |panelName, panelConf|
|
||||||
Object.const_get(modClass).new(panelConf, modName, pipe_w).run
|
Object.const_get(modClass).new(panelConf, modName, pipe_w).run
|
||||||
end
|
end
|
||||||
|
|
||||||
Signal.trap("INT") do cleanup; end
|
|
||||||
Signal.trap("TERM") do cleanup; end
|
|
||||||
|
|
||||||
if panelConf['geometry'] == nil
|
if panelConf['geometry'] == nil
|
||||||
panelConf['gap'] ||= 0
|
panelConf['gap'] ||= 0
|
||||||
panelConf['height'] ||= 14
|
panelConf['height'] ||= 14
|
||||||
|
|
Loading…
Reference in New Issue
Block a user