Menu

#707 wildcards in style overlays should override more precise definitions in the style

v1.3.5
open
nobody
None
5
2016-07-30
2007-02-27
Anonymous
No

In my overlay file (~/.fluxbox/overlay) i want to override the font used in my themes. But it's doesn't work even if there is a line in my init file like this: session.styleOverlay: ~/.fluxbox/overlay

If I follow the 'howto style overlay' it doesn't work also (http://fluxbox-wiki.org/index.php/Howto_style_overlay)

fluxbox version : 1.0 rc2

Discussion

  • Mark Tiefenbruck

    Logged In: YES
    user_id=1538990
    Originator: NO

    Post your overlay and style files. I promise the feature works. However, there is an issue with X11 where something like *font won't override a more specific one like toolbar*font. Make sure you put specific style elements in your overlay, not just wildcards.

     
  • Nobody/Anonymous

    Logged In: NO

    Hi

    It works if I don't use wildcards, but specific style elements
    that are defined in the style theme config.

    I used only wildcard for the *font style element, because not all the themes use the same specific style elements i asume.
    It's much easyer to override all style themes with one wildcard.
    Anyway it's cleared out now. I suppose that the issue with X11 will be solved in the future :-).

    Thank you.

     
  • Mark Tiefenbruck

    Logged In: YES
    user_id=1538990
    Originator: NO

    Yes, I agree that wildcards should override all relevant style entries. However, unfortunately that's not the way X11 resources work. I'll leave this open as a bug, since it does need to be fixed one way or the other.

     
  • Thomas Luebking

    Thomas Luebking - 2016-07-30
    • summary: overlay doesn't work? --> wildcards in style overlays should override more precise definitions in the style
    • Group: --> v1.3.5
     
  • Thomas Luebking

    Thomas Luebking - 2016-07-30

    More like a feature request.

    Xrm doesn't provide priorities like css "!important", so it would be required to pre-parse overlay and style themerc and for any line in the overlay remove any matching line from the styles themerc instead of XrmMergeDatabase.

     

Log in to post a comment.

MongoDB Logo MongoDB