About Folder Thumbnails

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
suzuki
Posts: 2
Joined: 30 Oct 2018 02:24

About Folder Thumbnails

Post by suzuki »

Can I change the color of the yellow gradation Backfround of folder thumbnails?

jupe
Posts: 3478
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: About Folder Thumbnails

Post by jupe »

Yes, it requires an ini file tweak

Code: Select all

    + Folder Thumbs: Now you can tweak the background coloring of folder 
      thumbnails. It's a vertical gradient, the 1st color is the top, the 2nd 
      color is the bottom. This e.g. would be a light grey gradient:
        clrFolderThumbs1=15461355
        clrFolderThumbs2=15132390
      Those numbers are color decimals.
      If both of those values are 0 then the default colors are used (the crass 
      traditional yellow).
      
      + Folder Thumbs: Added another key to specify a border color for the folder 
      thumbnail background. Looks a bit better with a light border IMO.
        clrFolderThumbsBorder=14737632
      It's only used when it's not 0 (zero) AND when the background coloring 
      tweak is used as well (clrFolderThumbs1, clrFolderThumbs2).
for instructions on how to tweak:
https://www.xyplorer.com/faq-topic.php?id=tweak

And here is a small script you can enter in the XY addressbar to convert HEX color codes to the correct decimal codes required in the ini file.

Code: Select all

$a = input("Hex color",, "B8B4B1"); echo hextodec(substr($a, 4, 2) . substr($a, 2, 2) . substr($a, 0, 2));

suzuki
Posts: 2
Joined: 30 Oct 2018 02:24

Re: About Folder Thumbnails

Post by suzuki »

Thanks!!!

Post Reply