theme: don't let naughty display super large icons

This commit is contained in:
Vincent Bernat 2020-08-08 18:20:59 +02:00
parent b63bd0d911
commit 263417ae6f

View file

@ -64,5 +64,9 @@ for _, preset in pairs({"normal", "low", "critical"}) do
naughty.config.presets[preset].margin = 12 * theme.scale
naughty.config.presets[preset].border_width = 3 * theme.scale
end
naughty.config.notify_callback = function(args)
args.icon = nil
return args
end
return theme