diff --git a/awesomerc.lua b/awesomerc.lua index 94840722..db05f7da 100644 --- a/awesomerc.lua +++ b/awesomerc.lua @@ -22,6 +22,7 @@ require("awful.hotkeys_popup.keys") -- {{{ Error handling -- Check if awesome encountered an error during startup and fell back to -- another config (This code will only ever execute for the fallback config) +-- @DOC_ERROR_HANDLING@ naughty.connect_signal("request::display_error", function(message, startup) naughty.notification { urgency = "critical", diff --git a/docs/05-awesomerc.md.lua b/docs/05-awesomerc.md.lua index cfe52015..ffd0dbad 100644 --- a/docs/05-awesomerc.md.lua +++ b/docs/05-awesomerc.md.lua @@ -29,6 +29,7 @@ Here are the modules that we import: ]] sections.DOC_ERROR_HANDLING = [[ + Awesome is a window managing framework. It allows its users great (ultimate?) flexibility. However, it also allows the user to write invalid code. Here's a non-exhaustive list of possible errors: