From: Luke Bonham Date: Mon, 20 Jan 2014 17:53:32 +0000 (-0800) Subject: Updated imap (markdown) X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/72aa10c4b7dd62e95ce9f3bbded184d1b272d345?ds=sidebyside Updated imap (markdown) --- diff --git a/imap.md b/imap.md index b0d5375..7952c81 100644 --- a/imap.md +++ b/imap.md @@ -46,10 +46,8 @@ and you'll have the same security provided by `~/.netrc`. **Or** you can use a keyring, like [python keyring](https://pypi.python.org/pypi/keyring): myimapcheck = lain.widgets.imap({ - is_plain = true, - password = "myplainpassword", - server = "mail.autistici.org", - mail = "dada@anche.no", + password = "keyring get mymail", + [...] }) When `is_plain == false`, it *executes* `password` before using it, so you can also use whatever password fetching solution you want.