Created
August 1, 2012 01:02
-
-
Save hurricanerainbow/3222165 to your computer and use it in GitHub Desktop.
error with function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local mp_tooltip | |
if not mp_tooltip then | |
mp_tooltip = awful.tooltip({ }) | |
function mp_tooltip:update() | |
local name = displayphase:mp_name | |
local text = string.format('<span font_desc="monospace">%s</span>', name) | |
mp_tooltip:set_text( text ) | |
end | |
mp_tooltip:update() | |
end | |
mp_tooltip:add_to_object(moonwidget) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment