bbidulock / icewm

A window manager designed for speed, usability, and consistency
Other
570 stars 97 forks source link

Hot to theme QuickSwitch border size and colour? #736

Open fladd opened 1 year ago

fladd commented 1 year ago

I cannot seem to find a way to change the border size and colour of the QuickSwitch window. It does not follow the normal window settings.

gijsbers commented 1 year ago

Does grep -e Color.*Quick -e Quick.*Marg ~/.icewm/preferences help?

fladd commented 1 year ago

Unfortunately not. It gives me this:

image

Nothing on borders I am afraid.

gijsbers commented 1 year ago

OK, it's just a generic function with the color derived from the generic switch background:

    g.setColor(switchBg);
    g.drawBorderW(0, 0, width() - 1, height() - 1, true);
fladd commented 1 year ago

Not only this, but it is also always a 3D style, even when Look=flat.

It would be great if this could be fully themed so I could make it look consistent with how my windows and my menu looks.

On Mon, 12 Jun 2023, 12:36 gijsbers, @.***> wrote:

OK, it's just a generic function with the color derived from the generic switch background:

g.setColor(switchBg);
g.drawBorderW(0, 0, width() - 1, height() - 1, true);

— Reply to this email directly, view it on GitHub https://github.com/bbidulock/icewm/issues/736#issuecomment-1587059634, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWVPE5HZD2PVT66B4DCMNDXK3WLZANCNFSM6AAAAAAZB5JPZM . You are receiving this because you authored the thread.Message ID: @.***>

gijsbers commented 1 year ago

Maybe other looks need a fix as well. fully themed is undefined and could be a lot of unattractive work with unclear benefits. The QuickSwitch already has 12 themables and 13 preferences. Thanks for this observation.

fladd commented 1 year ago

Well, "fully" might have been not the best choice of word. I meant that it would be great if it were consistent with what can be styled on the other elemens (e.g. windows/menu), such that one can create themes that look coherent.