Explorar o código

awesome naughty timeout

cuu %!s(int64=5) %!d(string=hai) anos
pai
achega
5cf8bb1917
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      awesome/rc.lua

+ 2 - 2
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