Thanks for the example code
On Nov 23, 2011 10:24 PM, "Zveroy" <[email protected]> wrote:

> There my custom widget which demonstrate example of usage awful.prompt
> (http://awesome.naquadah.org/doc/api/modules/awful.prompt.html):
> http://pastebin.com/0TUAwbhx
>
> Widget usage:
>
> -- make widget
> rtitle = runtitle()
> …
> -- add to wibox
>    mywibox[s].widgets = {
>        …
>        rtitle.widget,
>        …
>    }
> …
> -- add binding
> awful.key({ modkey },            "Return", function () rtitle:run() end)
>

Reply via email to