Some other shit
This commit is contained in:
@@ -5,7 +5,10 @@ class ModBspwmPager < ModBasic
|
||||
|
||||
def data_loop()
|
||||
while true do
|
||||
IO.popen("bspc subscribe").each do |line|
|
||||
pipe = IO.popen("bspc subscribe")
|
||||
$children << pipe.pid
|
||||
|
||||
pipe.each do |line|
|
||||
$panel_data[@@mod_name.to_sym] = parse_data(line.chomp)
|
||||
$queue << 1
|
||||
end
|
||||
|
Reference in New Issue
Block a user