fix build
This commit is contained in:
parent
28256cd21c
commit
8ad4d0228d
|
@ -93,7 +93,7 @@ local function rebuild_popup()
|
|||
layout = wibox.container.place,
|
||||
}
|
||||
|
||||
checkbox:connect_signal("button::press", function(c)
|
||||
checkbox:connect_signal("button::press", function()
|
||||
default_player = player_name
|
||||
rebuild_popup()
|
||||
end)
|
||||
|
@ -214,7 +214,8 @@ local function worker()
|
|||
awful.spawn(PREV_MPD_CMD, false) -- scroll down
|
||||
end
|
||||
|
||||
-- spawn.easy_async(string.format(GET_MPD_CMD, "'" .. default_player .. "'"), function(stdout, stderr, exitreason, exitcode)
|
||||
-- spawn.easy_async(string.format(GET_MPD_CMD, "'" .. default_player .. "'"),
|
||||
-- function(stdout, stderr, exitreason, exitcode)
|
||||
-- update_graphic(mpdarc, stdout, stderr, exitreason, exitcode)
|
||||
-- end)
|
||||
end)
|
||||
|
|
|
@ -97,7 +97,7 @@ local function worker(user_args)
|
|||
end
|
||||
volumearc:connect_signal("button::press", button_press)
|
||||
|
||||
local rebuild_widget = function(stdout, stderr)
|
||||
local rebuild_widget = function(stdout)
|
||||
for i = 0, #rows do rows[i]=nil end
|
||||
|
||||
for line in stdout:gmatch("[^\r\n]+") do
|
||||
|
|
Loading…
Reference in New Issue