docs: Fix widget.wibox.slider example (#3923)

This commit is contained in:
Cyan903 2024-06-06 04:23:54 -04:00 committed by GitHub
parent 8b1f8958b4
commit ad0290bc1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ widget:connect_signal("property::value", function(_, new_value)
error(string.format("unexpected value %s", new_value)) error(string.format("unexpected value %s", new_value))
end end
--DOC_HIDE_END --DOC_HIDE_END
naughty.notify { title = "Slider changed", message = new_value } naughty.notify { title = "Slider changed", message = tostring(new_value) }
end) end)
--DOC_HIDE_START --DOC_HIDE_START