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/a11f76cf00b430d3f7eec710879847cb654fe17f?hp=dd10cac1306530f46f0e8506156e1ef21b456fae 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.