X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/24ac1f98e6a5a92a61e5935b2ed4d03ed79ec6b0..82766de14737919c4d1eb3b27333a6ef0b80e6d2:/widgets/imap.lua 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