Also, note that a color pair *must* be a list in the current implementation
(backend/base.py#824). That should probably be changed to checking for a
Sequence (excluding strings), but that's a minor issue.



On Tue, Oct 11, 2022 at 10:42 AM Matt <[email protected]> wrote:

> Ahhh......... Got it. Thank you very much.
>
> I don't need gradients so I can just make a single list of colors.
>
> Thanks again.
>
> On Tuesday, October 11, 2022 at 12:40:17 PM UTC-4 [email protected]
> wrote:
>
>> It looks like if you give a list of two colors to the drawer
>> (backend/base.py:Drawer), it will create a linear gradient from one color
>> to the other (see the 'set_source_rgb' method for base.Drawer). Note that
>> you don't have to do this; you can just pass in a single color if you want.
>>
>> James Wright
>>
>>
>> On Tue, Oct 11, 2022 at 9:57 AM Matt <[email protected]> wrote:
>>
>>> I am new to WMs and I had a question regarding to the config.py file
>>> where they specifiy the color theme. In most example configs I see, they
>>> create a list, with 'x' amount of nested lists repeating the same colors in
>>> the nested lists. e.g.
>>>
>>> def init_colors():
>>> return [["#2F343F", "#2F343F"], # color 0
>>> ["#2F343F", "#2F343F"], # color 1
>>> ["#c0c5ce", "#c0c5ce"], # color 2
>>> ["#fba922", "#fba922"], # color 3
>>> ["#3384d0", "#3384d0"], # color 4
>>> ["#f3f4f5", "#f3f4f5"], # color 5
>>> ["#cd1f3f", "#cd1f3f"], # color 6
>>> ["#62FF00", "#62FF00"], # color 7
>>> ["#6790eb", "#6790eb"], # color 8
>>> ["#a9a9a9", "#a9a9a9"]] # color 9
>>>
>>> Why are these colors duplicated?
>>> Thank You,
>>> M
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "qtile-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/qtile-dev/172247af-0f3f-4f7b-878e-74149f01bb21n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/qtile-dev/172247af-0f3f-4f7b-878e-74149f01bb21n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "qtile-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qtile-dev/eb607925-935a-4779-b3f9-1dbfc0b127c8n%40googlegroups.com
> <https://groups.google.com/d/msgid/qtile-dev/eb607925-935a-4779-b3f9-1dbfc0b127c8n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qtile-dev/CAHErDQgJj4DBoODJs1MATZxr_sX-Jif7iwhr18PvFEUo6UVopQ%40mail.gmail.com.

Reply via email to