mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-27 20:18:49 +02:00
theme: whitelist icons in /usr
We use them!
This commit is contained in:
parent
07bc3d4d0b
commit
f0504d1486
1 changed files with 3 additions and 1 deletions
|
@ -65,7 +65,9 @@ for _, preset in pairs({"normal", "low", "critical"}) do
|
|||
naughty.config.presets[preset].border_width = 3 * theme.scale
|
||||
end
|
||||
naughty.config.notify_callback = function(args)
|
||||
if args.icon ~= nil and string.sub(args.icon, 1, 5) ~= "/usr/" then
|
||||
args.icon = nil
|
||||
end
|
||||
return args
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue