summaryrefslogtreecommitdiff
path: root/logout-popup-widget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@users.noreply.github.com>2021-06-03 22:18:37 -0400
committerGitHub <noreply@github.com>2021-06-03 22:18:37 -0400
commit7ecaccf85fd1ec7f3dc4754c124f80acfe7eec2c (patch)
tree64059a7aae5441fa6b39375033af91afc4707abd /logout-popup-widget
parenta723d1c050e9ff61c7cc1f8ef00a480245ff172d (diff)
fix lua check warnings
Diffstat (limited to 'logout-popup-widget')
-rw-r--r--logout-popup-widget/logout-popup.lua14
1 files changed, 7 insertions, 7 deletions
diff --git a/logout-popup-widget/logout-popup.lua b/logout-popup-widget/logout-popup.lua
index 80d36e0..610b359 100644
--- a/logout-popup-widget/logout-popup.lua
+++ b/logout-popup-widget/logout-popup.lua
@@ -54,8 +54,8 @@ local function create_button(icon_name, action_name, accent_color, label_color,
capi.keygrabber.stop()
end
}
- button:connect_signal("mouse::enter", function()
- action:set_markup('<span color="' .. label_color .. '">' .. action_name .. '</span>')
+ button:connect_signal("mouse::enter", function()
+ action:set_markup('<span color="' .. label_color .. '">' .. action_name .. '</span>')
end)
button:connect_signal("mouse::leave", function() action:set_markup('<span> </span>') end)
@@ -91,15 +91,15 @@ local function launch(args)
phrase_widget,
{
{
- create_button('log-out', 'Log Out (l)',
+ create_button('log-out', 'Log Out (l)',
accent_color, label_color, onlogout, icon_size, icon_margin),
- create_button('lock', 'Lock (k)',
+ create_button('lock', 'Lock (k)',
accent_color, label_color, onlock, icon_size, icon_margin),
- create_button('refresh-cw', 'Reboot (r)',
+ create_button('refresh-cw', 'Reboot (r)',
accent_color, label_color, onreboot, icon_size, icon_margin),
- create_button('moon', 'Suspend (u)',
+ create_button('moon', 'Suspend (u)',
accent_color, label_color, onsuspend, icon_size, icon_margin),
- create_button('power', 'Power Off (s)',
+ create_button('power', 'Power Off (s)',
accent_color, label_color, onpoweroff, icon_size, icon_margin),
id = 'buttons',
spacing = 8,