diff --git a/lib/naughty.lua.in b/lib/naughty.lua.in index 88475aa68..b3e04c433 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
.