awesome naughty timeout

This commit is contained in:
cuu 2018-09-22 18:37:22 +08:00
parent 723644579e
commit 5cf8bb1917

View File

@ -20,7 +20,7 @@ local hotkeys_popup = require("awful.hotkeys_popup").widget
if awesome.startup_errors then if awesome.startup_errors then
naughty.notify({ preset = naughty.config.presets.critical, naughty.notify({ preset = naughty.config.presets.critical,
title = "Oops, there were errors during startup!", title = "Oops, there were errors during startup!",
text = awesome.startup_errors }) text = awesome.startup_errors,timeout=3 })
end end
-- Handle runtime errors after startup -- Handle runtime errors after startup
@ -33,7 +33,7 @@ do
naughty.notify({ preset = naughty.config.presets.critical, naughty.notify({ preset = naughty.config.presets.critical,
title = "Oops, an error happened!", title = "Oops, an error happened!",
text = tostring(err) }) text = tostring(err),timeout=3 })
in_error = false in_error = false
end) end)
end end