Quick update. It was the size of the image that was the problem. I resized
the icon to 20x20 all it worked as expected!
After getting this to work i found out I wanted to do this will normal text
instead. So now I'm using a UTF-8 circle and change the color of this
circle if the tag is occupied.
I'm happy to share the theme if anyone is interested. The theme is based of
copycat-killer's rainbow.

Regards,
Alexander

On Thu, Sep 10, 2015 at 9:45 PM, Alexander Holte-Davidsen <
[email protected]> wrote:

> Thanks for putting me on the right track, Alexis!
>
> I think the variables I'm looking for are these:
>
>
>  theme.taglist_squares_sel_empty
>  theme.taglist_squares_unsel_empty
>
> Although it does not work the way i excepted it to. When setting these,
> and only these I don't get any images at all. I have to dig a deeper into
> the code to see how this work.
>
> I'll let you guys know of any progress.
>
> Regards,
> Alexander
>
> On Thu, Sep 10, 2015 at 1:35 PM, Alexis BRENON <[email protected]>
> wrote:
>
>> Hi Alexander,
>>
>> The icon displayed when a window is present on the tag is choosen by the
>> taglist_squares_... field of the theme (
>> https://github.com/awesomeWM/awesome/blob/master/themes/default/theme.lua#L38
>> )
>>
>> Nevertheless, I don't really understand how it works :
>>   - is it extended on width to match the tag width ?
>>   - can you center it ?
>>
>> My first idea would be to set the name of the tag to a space (or two) to
>> have a fixed width for all your tags, then create a first image with your
>> outlined circle and a second one with plain circle, and to affect these
>> images to taglist_squares_... and taglist_nosquares_... (I'm not sure for
>> the last one, you have to look at the doc or the code to see which image is
>> displayed when no window are present).
>>
>> Copycat killer and his Copland theme (
>> https://github.com/copycat-killer/awesome-copycats) did a very good job
>> to add pretty full width line on tag, I don't remember how he achieved it.
>>
>> I Hope it can help you a little.
>>
>> Kind Regards,
>> Alexis
>>
>> Le jeu. 10 sept. 2015 à 12:26, Alexander Holte-Davidsen <
>> [email protected]> a écrit :
>>
>>> Hi all,
>>>
>>> I see that there is some activity on this list, so I'll post a question
>>> in hope that someone can help me.
>>>
>>> I'm trying to make some changes to the theme I'm using, but I have no
>>> idea on how to achieve what I want. For the tag names I'm using the UTF-8
>>> character called "white circle". What I want to achieve is when a window is
>>> present on a certain tag, this icon changes to another.
>>> Right now I get a "box" in the top left corner indicating that windows
>>> are present on the tag. A screenshot of the current behavior is in the
>>> imgur-link.
>>>
>>> http://imgur.com/GZ2zRqT
>>>
>>> So basically I want the whole icon to change when a window is present on
>>> a tag.
>>>
>>> Is this possible?
>>>
>>> Best regards,
>>> Alexander
>>>
>>
>

Reply via email to