Closed Sadi58 closed 3 years ago
It does but for c++ decorations.
For aurorare decorations such as you are describing the situation is a bit strange how this could be achieved, it would break because aurorare themes use svg files for all their button situations so I don't think this is possible.
In that case, could you suggest a workaround as to what we should do to fix this? For instance, creating a directory like "~/.local/share/aurorae/themes/OrchisMod" containing png images close.png, maximize.png, minimize.png, restore.png etc.?
If the aurorare theme was providing also Monochrome icons and was specifying this in its settings file then Latte could use those instead and provide the coloring you are describing.
Or even simpler if the aurorae theme has Monochrome buttons already then it could specify this in its settings and Latte would respect it.
[General]
ActiveFocusedTabColor=78,78,78
ActiveTextColor=78,78,78
ActiveTextShadowColor=255,255,255,255
ActiveUnfocusedTabColor=120,120,120
Animation=0
InactiveFocusedTabColor=120,120,120
InactiveTextColor=120,120,120
InactiveTextShadowColor=255,255,255,255
InactiveUnfocusedTabColor=120,120,120
LeftButtons=
RightButtons=IAX
Shadow=true
TextShadowOffsetX=1
TextShadowOffsetY=1
TitleAlignment=Center
TitleVerticalAlignment=Center
UseTextShadow=true
[Layout] BorderLeft=1 BorderRight=1 BorderBottom=12 TitleEdgeTop=8 TitleEdgeBottom=8 TitleEdgeLeft=16 TitleEdgeRight=16 TitleBorderLeft=50 TitleBorderRight=50 TitleHeight=16 ButtonWidth=22 ButtonHeight=22 ButtonSpacing=10 ButtonMarginTop=0 ButtonMarginLeft=0 ButtonMarginRight=0 ExplicitButtonSpacer=0 PaddingTop=36 PaddingBottom=96 PaddingRight=76 PaddingLeft=76 TitleEdgeTopMaximized=6 TitleEdgeBottomMaximized=6 TitleEdgeLeftMaximized=16 TitleEdgeRightMaximized=16
When MonochromeIconsPrefix=* it would mean that current icons are already capable to be painted properly monovhromatic
When MonochromeIconsPrefix=monochrome it would mean that there are separate images for example monochrome-close.svg that should be used instead when monochrome painting is needed.
That way the same aurorare themes can provide colored buttons and monochromatic at the same time. No separate theme is needed.
This is not supported yet. I just need to confirm that you agree in the approach and you can send me your theme as a test case.
What do you think?
Thanks, it sounds great! I attach two popular themes, Arc and Orchis, although my current theme is Orchis. aurorae-themes-Orchis.zip aurorae-themes-Arc.zip
@Sadi58 feel free to to test it, examples are provided at https://github.com/psifidotos/applet-window-buttons/commit/991adbd6a178701f93be5b91e019ef6cce25cef4
It worked! Thanks a million for this new year's gift!
;)
In the configuration window, Decoration shows such third-party themes as Arc and Arc Dark, Orchis and Orchis-dark, etc. If Breeze is selected, there appears another option below: Colors. When the panel where this Window Buttons applet sits is Latte Dock with Smart Color Theme, the color of the selected window buttons (either Breeze or others) doesn't change in keeping with the other items on the panel. I think it would be perfect if this could be achieved.