summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@gmail.com>2021-03-05 20:26:58 -0500
committerstreetturtle <streetturtle@gmail.com>2021-03-05 20:26:58 -0500
commitac8b1dd43f6676661af9ef6877ad47007e1cacd1 (patch)
treef45ff56f5dc6b0aacbc69e59c85908b0bb41a1dd
parent473049272390054fb9ddfe861718d8f8399eee46 (diff)
[docker] fix #242
-rw-r--r--docker-widget/docker.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/docker-widget/docker.lua b/docker-widget/docker.lua
index 6ea0179..f05d06a 100644
--- a/docker-widget/docker.lua
+++ b/docker-widget/docker.lua
@@ -157,7 +157,7 @@ local function worker(user_args)
end)
start_stop_button:buttons(
- awful.util.table.join( awful.button({}, 1, function()
+ gears.table.join( awful.button({}, 1, function()
local command
if container:is_up() then command = 'stop' else command = 'start' end
@@ -216,7 +216,7 @@ local function worker(user_args)
end)
pause_unpause_button:buttons(
- awful.util.table.join( awful.button({}, 1, function()
+ gears.table.join( awful.button({}, 1, function()
local command
if container:is_paused() then command = 'unpause' else command = 'pause' end
@@ -254,7 +254,7 @@ local function worker(user_args)
widget = wibox.container.background
}
delete_button:buttons(
- awful.util.table.join( awful.button({}, 1, function()
+ gears.table.join( awful.button({}, 1, function()
awful.spawn.easy_async('docker rm ' .. container['name'], function(_, rm_stderr)
if rm_stderr ~= '' then show_warning(rm_stderr) end
spawn.easy_async(string.format(LIST_CONTAINERS_CMD, number_of_containers),
@@ -351,7 +351,7 @@ local function worker(user_args)
end
docker_widget:buttons(
- awful.util.table.join(
+ gears.table.join(
awful.button({}, 1, function()
if popup.visible then
popup.visible = not popup.visible