Don't consider critical as error...

This commit is contained in:
Thomas Forgione 2017-09-28 09:24:28 +02:00
parent da493880f7
commit 5e3d4ca3aa
No known key found for this signature in database
GPG Key ID: C75CD416BD1FFCE1
1 changed files with 5 additions and 1 deletions

View File

@ -18,8 +18,8 @@ home = os.getenv('HOME')
os.execute('xset m 16/1 0') os.execute('xset m 16/1 0')
os.setlocale("fr_FR.UTF-8") os.setlocale("fr_FR.UTF-8")
-- Set maximum size for notifactions
naughty.config.notify_callback = function(args) naughty.config.notify_callback = function(args)
-- Set maximum size for notifactions
if args.icon_size == nil or args.icon_size > 128 then if args.icon_size == nil or args.icon_size > 128 then
args.icon_size = 128 args.icon_size = 128
end end
@ -35,6 +35,10 @@ naughty.config.presets.normal.opacity = 0.7
naughty.config.presets.low.opacity = 0.7 naughty.config.presets.low.opacity = 0.7
naughty.config.presets.critical.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 -- {{{ Error handling
-- Check if awesome encountered an error during startup and fell back to -- Check if awesome encountered an error during startup and fell back to