From 5cf8bb1917c375e18f42090cbbcf61eb41b4f858 Mon Sep 17 00:00:00 2001 From: cuu Date: Sat, 22 Sep 2018 18:37:22 +0800 Subject: [PATCH] awesome naughty timeout --- awesome/rc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awesome/rc.lua b/awesome/rc.lua index f378bce..cd3e55d 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -20,7 +20,7 @@ local hotkeys_popup = require("awful.hotkeys_popup").widget if awesome.startup_errors then naughty.notify({ preset = naughty.config.presets.critical, title = "Oops, there were errors during startup!", - text = awesome.startup_errors }) + text = awesome.startup_errors,timeout=3 }) end -- Handle runtime errors after startup @@ -33,7 +33,7 @@ do naughty.notify({ preset = naughty.config.presets.critical, title = "Oops, an error happened!", - text = tostring(err) }) + text = tostring(err),timeout=3 }) in_error = false end) end