Skip to content

Commit

Permalink
get custom data from a widget
Browse files Browse the repository at this point in the history
  • Loading branch information
mutlusun committed Feb 23, 2017
1 parent f2aa096 commit b00e7c6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions init.lua
Expand Up @@ -260,6 +260,13 @@ function vicious.activate(widget)
end
-- }}}

-- {{{ Get custom widget format data
function vicious.getdata(myw, format, warg)
return helpers.format(format, myw(format, warg))
end
-- }}}


return vicious

-- }}}

0 comments on commit b00e7c6

Please sign in to comment.