Code Monkey home page Code Monkey logo

Comments (4)

lcpz avatar lcpz commented on May 12, 2024

Do you have more than one email widget? If yes, and if all set in the same way, that is all displaying "You've got x emails", then this might occur, if you put the textboxes all in the same place.

If you have only one email widget, then let me see your rc.lua.

Of course you can change the place where the textbox is showing. You can add it anywhere in left_layout wibox. For instance, after mypromptbox[s], like this:

...
left_layout:add(mypromptbox[s])
left_layout:add(mymailwidget)

from lain.

xorgx3 avatar xorgx3 commented on May 12, 2024

No, I haven't more than one email widget, i think. I just started yesterday modify yout script and not changed too much.
This is my rc.lua:
http://pastebin.com/gcBbCnSt

Probably i wrote this wrong. I did not thinking about textbox but about this notify:
+--------------------------------------------+
| +---+ |
| |\ /| [email protected] has 3 new messages |
| +---+ |
+--------------------------------------------+

from lain.

lcpz avatar lcpz commented on May 12, 2024

You should change your password: you forgot to delete it from the paste.

Using plain text is not recommended, that's why this widget sets is_plain = false as default.

And why did you set such a short timeout? If you have to check it every 5 seconds, then leave your email client open instead.

If you had read the wiki properly, then you would have understood how to change the notify position. I'll do it for you this time. Here you go.

As for the "too much mails" problem, just check your INBOX mail folder: the number of mails you see there, even those flagged as open, are considered new. So, if such count is equal to what the notify reports, then there's no issue at all. Otherwise let me know.

Anyway, note that Google Mail uses to store multiple copies of your mails in different subfolder, flagging them as new. So do the count considering every mail folder you have (Importants, Sent, Drafts, All Messages, ...) before reporting back.

from lain.

xorgx3 avatar xorgx3 commented on May 12, 2024

Short timeout only for tests.

Ok, I clear my inbox and now mailwidget works perfect! Thanks. I didn't know most of this information.

from lain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.