diff --git a/lib/naughty.lua.in b/lib/naughty.lua.in index 88475aa6..b3e04c43 100644 --- a/lib/naughty.lua.in +++ b/lib/naughty.lua.in @@ -371,7 +371,7 @@ function notify(args) textbox.valign = "middle" local function setText(pattern, replacements) - textbox.text = string.format('%s%s', font, title, text:gsub(pattern, replacements)) + textbox.text = string.format('%s%s', font, title:gsub(pattern, replacements), text:gsub(pattern, replacements)) end -- First try to set the text while only interpreting
.