bug(email_widget): Fix widgets not accessible

When fixing linter warnings in
ed2b256407
the previously global values were made local but no return statement to
export them was added.

Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
This commit is contained in:
Lucas Schwiderski 2021-05-10 20:21:04 +02:00
parent 2f109c4c2a
commit 05a3ace5dc
No known key found for this signature in database
GPG key ID: AA12679AAA6DF4D8
2 changed files with 4 additions and 1 deletions

View file

@ -14,7 +14,8 @@ To install it put **email.lua** and **email-widget** folder under **~/.config/aw
- add widget to awesome:
```lua
require("email")
local email_widget, email_icon = require("email")
...
s.mytasklist, -- Middle widget
{ -- Right widgets

View file

@ -40,3 +40,5 @@ local function show_emails()
end
email_icon:connect_signal("mouse::enter", function() show_emails() end)
return email_widget, email_icon