Don't consider critical as error...
This commit is contained in:
parent
da493880f7
commit
5e3d4ca3aa
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue