EMail notification widget

From awesome
Jump to: navigation, search

Indicator email dmj.png

dmj has written a nice email notification widget:

:An IMAP client widget (pure lua, example widget)

I've modified dmjs widget. Now it will work with awesome 3.4:

An IMAP client widget (pure lua, example widget)

Fetch that by using the command git clone http://github.com/s-hell/misc. You'll have to move into a couple of directories and then copy the 2 files called mail-simple.lua and imap.lua to your ~/.config/awesome/

Make sure to set your username and password as directed in mail-simple.lua:

 imap_user = "myimaploginname@myhost.com"
 imap_padd = "88693jkjfdkf"

Also change the host name and other relevant details a few lines above- they don't need to be changed for gmail users though as it's set to gmail by default.

In rc.lua, at the top, I added under require("debian.menu") a new line:

 require("debian.menu")
 require("mail-simple") -- new line

Scroll down a bit to:

       -- mylayoutbox[s],
       mytextclock,
       s == 1 and mysystray or nil,
       w_imap,  -- ADD THIS NEW LINE HERE
       mytasklist[s],
       layout = awful.widget.layout.horizontal.rightleft

If you log out it should now work.

The other widget

The other widget has a longer display like Inbox: 3/4/5... Use mail-long.lua if you prefer it.

Fullescreen email dmj not popup.png

Personal tools