Fix the example in the tooltip docs (#1980)

Reference: https://github.com/awesomeWM/awesome/pull/1978
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2017-08-13 12:23:40 +02:00 committed by Daniel Hahler
parent 26f32f5ce4
commit 8166e2ff8b
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
-- How to create a tooltip? -- How to create a tooltip?
-- --- -- ---
-- --
-- myclock = wibox.widget.textclock({}, "%T", 1) -- myclock = wibox.widget.textclock("%T", 1)
-- myclock_t = awful.tooltip({ -- myclock_t = awful.tooltip({
-- objects = { myclock }, -- objects = { myclock },
-- timer_function = function() -- timer_function = function()