From 263417ae6fb8602db8e1354f5666ed47904bb573 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 8 Aug 2020 18:20:59 +0200 Subject: [PATCH] theme: don't let naughty display super large icons --- rc/theme.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rc/theme.lua b/rc/theme.lua index 764e94c..3bc1ec3 100644 --- a/rc/theme.lua +++ b/rc/theme.lua @@ -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