You are not logged in.
I updated my awesome from 3.4 to 3.5. I noticed that vicious.widgets.gmail does not work anymore. When I move my cursor on mailicon, I can only see N/A. Obviously in my home there is ~/.netrc file:
machine mail.google.com login MYMAIL password MYPASSWORD
This is how I configured the widget: Solved someone this or has someone any idea about how to solve?
-- Gmail
mailicon = wibox.widget.imagebox(beautiful.widget_gmail)
mailwidget = wibox.widget.textbox()
gmail_t = awful.tooltip({ objects = { mailwidget },})
vicious.register(mailwidget, vicious.widgets.gmail,
function (widget, args)
gmail_t:set_text(args["{subject}"])
gmail_t:add_to_object(mailicon)
return args["{count}"]
end, 120)
--the '120' here means check every 2 minutes.
mailicon:buttons(awful.util.table.join(
awful.button({ }, 1, function () awful.util.spawn("urxvt -e mutt", false) end)
))
Bye! ^^
Last edited by ninquitassar (2013-02-17 20:22:28)
CPU: AMD Sempron SI-42 - 2.1 Ghz Video: Nvidia GeForce 8200MG RAM: 4Gb DR
OS: Arch x86_64 + awesome + GTK+
My DeviantART
Offline
I don't know for sure, but maybe it's
mailicon = wibox.widget.imagebox(beautiful.widget_gmail)
instead of
mailicon = wibox.widget.imagebox()
mailicon.set_image(beautiful.widget_gmail)
dotfiles and more @github
Offline
I don't know for sure, but maybe it's
mailicon = wibox.widget.imagebox(beautiful.widget_gmail)
instead of
mailicon = wibox.widget.imagebox() mailicon.set_image(beautiful.widget_gmail)
That's what he has.
Last edited by nomorewindows (2013-02-12 21:16:51)
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Great guys! ^^
CPU: AMD Sempron SI-42 - 2.1 Ghz Video: Nvidia GeForce 8200MG RAM: 4Gb DR
OS: Arch x86_64 + awesome + GTK+
My DeviantART
Offline