mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 18:58:33 +02:00
theme: only strip icons when they are "user-data"
This commit is contained in:
parent
1c98577658
commit
c594dbdbb5
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ for _, preset in pairs({"normal", "low", "critical"}) do
|
||||||
naughty.config.presets[preset].border_width = 3 * theme.scale
|
naughty.config.presets[preset].border_width = 3 * theme.scale
|
||||||
end
|
end
|
||||||
naughty.config.notify_callback = function(args)
|
naughty.config.notify_callback = function(args)
|
||||||
if args.icon ~= nil and string.sub(args.icon, 1, 5) ~= "/usr/" then
|
if args.icon ~= nil and type(args.icon) ~= "string" then
|
||||||
args.icon = nil
|
args.icon = nil
|
||||||
end
|
end
|
||||||
return args
|
return args
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue