From 46fdaae8f731b04f74349559a32b8a8284b455c0 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Wed, 16 Sep 2026 23:38:21 -0500 Subject: notify on request::display_error like in 4.3 (for awesome-git) --- func/notifyerror.lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 func/notifyerror.lua (limited to 'func/notifyerror.lua') diff --git a/func/notifyerror.lua b/func/notifyerror.lua new file mode 100644 index 0000000..abd3329 --- /dev/null +++ b/func/notifyerror.lua @@ -0,0 +1,9 @@ +local naughty = require("naughty") + +naughty.connect_signal("request::display_error", function(message, startup) + naughty.notification { + urgency = "critical", + title = "Oops, an error happened"..(startup and " during startup!" or "!"), + message = message, + } +end) -- cgit v1.2.3