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