summaryrefslogtreecommitdiff
path: root/logout-popup-widget
diff options
context:
space:
mode:
Diffstat (limited to 'logout-popup-widget')
-rw-r--r--logout-popup-widget/logout-popup.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/logout-popup-widget/logout-popup.lua b/logout-popup-widget/logout-popup.lua
index fd30c8e..4e52b50 100644
--- a/logout-popup-widget/logout-popup.lua
+++ b/logout-popup-widget/logout-popup.lua
@@ -59,8 +59,8 @@ local function create_button(icon_name, action_name, color, onclick, icon_size,
return button
end
-local function launch(user_args)
- local args = user_args or {}
+local function launch(args)
+ args = args or {}
local bg_color = args.bg_color or beautiful.bg_normal
local accent_color = args.accent_color or beautiful.bg_focus