mirror of
https://github.com/streetturtle/awesome-wm-widgets.git
synced 2024-11-17 07:49:09 +01:00
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:
parent
2f109c4c2a
commit
05a3ace5dc
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -40,3 +40,5 @@ local function show_emails()
|
|||
end
|
||||
|
||||
email_icon:connect_signal("mouse::enter", function() show_emails() end)
|
||||
|
||||
return email_widget, email_icon
|
||||
|
|
Loading…
Reference in a new issue