X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/898940858203008d7cc365dbc3156e4dde34e9eb..143f7ad830c28dd65189ac5a3a1d5ad7250aa45b:/widgets/imap.lua?ds=sidebyside diff --git a/widgets/imap.lua b/widgets/imap.lua index 3a6da8d..1ebbb76 100644 --- a/widgets/imap.lua +++ b/widgets/imap.lua @@ -54,7 +54,7 @@ local function worker(args) position = "top_left" } - curl = string.format("%s --url imaps://%s:%s/INBOX -u %s:%s %s -k", + curl = string.format("%s --url imaps://%s:%s/INBOX -u %s:%q %s -k", head_command, server, port, mail, password, request) async.request(curl, function(f) @@ -77,7 +77,6 @@ local function worker(args) naughty.notify({ preset = mail_notification_preset, text = nt, - screen = client.focus and client.focus.screen or 1 }) end