How did that get there

This commit is contained in:
Jack L. Frost 2016-09-29 17:05:35 +03:00
parent cb8e6f637f
commit f37bf2841b

View File

@ -6,7 +6,7 @@ class BspwmPager < Worker
pipe = IO.popen("bspc subscribe") pipe = IO.popen("bspc subscribe")
pipe.each do |line| pipe.each do |line|
monitor ||= line.split(":")[0] monitor = line.split(":")[0]
if @config['mod']['bspwm_pager'].has_key?("monitors") == false || @config['mod']['bspwm_pager']['monitors'].include?(monitor) if @config['mod']['bspwm_pager'].has_key?("monitors") == false || @config['mod']['bspwm_pager']['monitors'].include?(monitor)
self.write parse_data(line) self.write parse_data(line)