From 5e3d4ca3aaec4219ee1217d8caf4fcd2a17703e3 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Thu, 28 Sep 2017 09:24:28 +0200 Subject: [PATCH] Don't consider critical as error... --- awesome/rc.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/awesome/rc.lua b/awesome/rc.lua index f30ab2a..5293432 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -18,8 +18,8 @@ home = os.getenv('HOME') os.execute('xset m 16/1 0') os.setlocale("fr_FR.UTF-8") --- Set maximum size for notifactions naughty.config.notify_callback = function(args) + -- Set maximum size for notifactions if args.icon_size == nil or args.icon_size > 128 then args.icon_size = 128 end @@ -35,6 +35,10 @@ naughty.config.presets.normal.opacity = 0.7 naughty.config.presets.low.opacity = 0.7 naughty.config.presets.critical.opacity = 0.7 +naughty.config.presets.critical.font = "Ubuntu 12pt" +naughty.config.presets.critical.timeout = 5 +naughty.config.presets.critical.bg = "#111111" +naughty.config.presets.critical.fg = "#aaaaaa" -- {{{ Error handling -- Check if awesome encountered an error during startup and fell back to