Hi,

just one more thing : i've got almost the same problem with a textbox,
except that it sometimes indicates the text, and sometimes not. Is textbox
widget actually a cairo surface ?

For example, I have a text widget which indicates the current tag. I've
placed it in the view tag only section of the globalkeys bindings :

-- View tag only.
        awful.key({ modkey }, "#" .. i + 9,
                  function ()
                        local screen = mouse.screen
                        local tag = awful.tag.gettags(screen)[i]
                        if tag then
                           awful.tag.viewonly(tag)
                           tagw:set_text(tag.name)
                        end
                  end),

The textbox is only defined by :
tagw = wibox.widget.textbox()

Thanks for the help.

awesome v3.5.5 (Kansas City Shuffle)
 • Build: Apr 16 2014 17:38:00 for x86_64 by gcc version 4.8.2 (root@antec)
 • Compiled against Lua 5.1.5 (running with Lua 5.1)
 • D-Bus support: ✘




2014-04-17 21:43 GMT+02:00 david cobac <david.co...@gmail.com>:

> 2014-04-17 21:22 GMT+02:00 Uli Schlachter <psyc...@znc.in>:
>
>
>> Try this:
>>
>> imagew:set_image(gears.surface.load_uncached("/tmp/image.png"))
>>
>
>
> Thanks Uli, that's great or maybe : YOU are great !
>
>
>
>> --
>>
> Cordialement
>                            David Cobac
>



-- 
Cordialement
                           David Cobac

Reply via email to