Async
This commit is contained in:
parent
c339ead212
commit
37ecf108e0
|
@ -37,6 +37,8 @@ end
|
|||
|
||||
function add_background_widget(s)
|
||||
|
||||
awful.spawn.easy_async_with_shell(":", function()
|
||||
|
||||
local f = io.open(todo_path, "rb")
|
||||
|
||||
if f ~= nil then
|
||||
|
@ -78,5 +80,7 @@ function add_background_widget(s)
|
|||
|
||||
end
|
||||
|
||||
end)
|
||||
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue