@Dobbie03 It looks perfect and clean, and the icons are cool
Polybar looks great @Dobbie03
@Dobbie03, I know size isn’t supposed to matter, but your bar sure is long!
Looks like @Dobbie03 has a 96 inch screen ! lol
@TimApple lol yeah it’s what happens when you have a dual 27" 4k setup
Share whatever the script is that goes with the Mail module?
Here you go
#!/usr/bin/python import imaplib obj = imaplib.IMAP4_SSL('imap.gmail.com',993) obj.login('USERNAME@gmail.com','PASSWORD') # write your email and password obj.select() print(len(obj.search(None, 'UnSeen').split()))
Thanks brother, switched it up for fastmail and works like a charm.
Looks real nice @TimApple
Some Grateful Dead ! Great band .
Thanks! Been listening to the Dead for quite a long time… good sitting in the office music.
Yep , you bet @TimApple
Can you please provide a version of this script that will work with outlook?
I think you can goto your outlook inbox via the browser. Copy what ever URL is there and paste it in place of the gmail for checking
as far as checking imap, just replace with outloks imap settings.
Here is mine, I changes it to fastmail…
obj = imaplib.IMAP4_SSL(‘imap.fastmail.com’,993)
obj.login(‘firstname.lastname@example.org’,‘you_password’) # write your email and password
I changed the imap server , connection was successful. But the problem is with the output.
It doesn’t show the unread mail count rather shows
Traceback (most recent call last):
How to format the output so that it shows the mail count?
I get that message sometimes, when I first log in, but it has gone away…I’m not sure on that one.
Can you please share your config? Thank you very much
DP hasn’t been online in over a year. He has sadly vanished.
That’s really too bad. His Polybar configs match almost exactly what I have in mind in this period of time. I would have loved to receive some inputs from his config file.