Reno is the second iteration of the AWMTK-powered AwesomeWM config.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
455 B

  1. -- Error logging module
  2. local loghandler = io.open(os.getenv("HOME").."/.awesome_errors","w")
  3. if awesome.startup_errors then
  4. loghandler:write("[STARTUP] "..tostring(awesome.startup_errors).."\n")
  5. end
  6. do
  7. local in_error = false
  8. awesome.connect_signal("debug::error", function(err)
  9. if in_error then return end
  10. in_error = true
  11. loghandler:write("[RUNTIME] "..tostring(err).."\n")
  12. in_error = false
  13. end)
  14. end