add the option of showing specific monitors
This commit is contained in:
parent
8d15374740
commit
cb8e6f637f
|
@ -6,7 +6,11 @@ class BspwmPager < Worker
|
||||||
pipe = IO.popen("bspc subscribe")
|
pipe = IO.popen("bspc subscribe")
|
||||||
|
|
||||||
pipe.each do |line|
|
pipe.each do |line|
|
||||||
@pipe_in.puts "bspwm_pager" + "\0" + parse_data(line)
|
monitor ||= line.split(":")[0]
|
||||||
|
|
||||||
|
if @config['mod']['bspwm_pager'].has_key?("monitors") == false || @config['mod']['bspwm_pager']['monitors'].include?(monitor)
|
||||||
|
self.write parse_data(line)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -25,6 +25,8 @@ mod:
|
||||||
bspwm_pager:
|
bspwm_pager:
|
||||||
colour_focused: '#f9f9f9'
|
colour_focused: '#f9f9f9'
|
||||||
show_empty_desktops: false
|
show_empty_desktops: false
|
||||||
|
# monitors:
|
||||||
|
# - "WMHDMI1"
|
||||||
blacklist:
|
blacklist:
|
||||||
-h
|
-h
|
||||||
bspwm_taskbar:
|
bspwm_taskbar:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user