X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/24ac1f98e6a5a92a61e5935b2ed4d03ed79ec6b0..f6cc2aedd67c1b63f14b8975ccb9a815d04117f6:/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