Font Color for diferent drives

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
mcweb
Posts: 3
Joined: Fri Nov 11, 2022 3:57 pm

Font Color for diferent drives

Post by mcweb »

Is it possible to assign font colors to different drives in the search results?
It is so that I can quickly tell if a file or folder is on my local C: or on a network drive letter.

Thanks.
void
Developer
Posts: 16683
Joined: Fri Oct 16, 2009 11:31 pm

Re: Font Color for diferent drives

Post by void »

Not yet, sorry.

Custom color filters are on my TODO list.
Thank you for the suggestion.
mcweb
Posts: 3
Joined: Fri Nov 11, 2022 3:57 pm

Re: Font Color for diferent drives

Post by mcweb »

Font colors for different drives would be a great thing!
void
Developer
Posts: 16683
Joined: Fri Oct 16, 2009 11:31 pm

Re: Font Color for diferent drives

Post by void »

Everything 1.5.0.1332a adds very basic support for customizing the font color for different drives:


To set a color filter for folders only:
  • Copy and paste the following into your Everything search box:
    about:config
  • Press ENTER in your Everything search box.
    ---this will open your %APPDATA%\Everything\Everything-1.5a.ini in Notepad---
  • Please change the following lines:

    color_filters=
    color_filters_foreground_color=
    color_filters_dark_foreground_color=
    color_filters_type=

    to:

    color_filters=c:**,d:**,e:**
    color_filters_foreground_color=#ff0000,#00ff00,#0000ff
    color_filters_dark_foreground_color=#ff0000,#00ff00,#0000ff
    color_filters_type=3,3,3

    where each setting is a semicolon (;) delimited list of values.
    Leave a value empty to use the default color/font-style.
    Filters support wildcards or regex with the regex: prefix.
    The whole filename is matched.
    ** = match any character (any number of times.
    * = match any character (except \) any number of times.
    ? = match a single character.
    Use a path separator to match the full path and filename.
    Use double quotes to escape your filters which are also semicolon (;) delimited lists.
    Use \ inside double quotes to escape special characters, eg: \\ or \"
    Use #RRGGBB for the color, where RR is the hex value for red, GG is the hex value for green and BB is the hex value for blue.
  • Save changes and exit Notepad.
  • In Everything, accept the prompt to reload your configuration file.
ovg
Posts: 294
Joined: Thu Oct 27, 2016 7:19 pm

Re: Font Color for diferent drives

Post by ovg »

void wrote: Thu Dec 22, 2022 5:35 am Everything 1.5.0.1332a adds support for customizing the font color for different drives:

To set a color filter for folders only:
  • Copy and paste the following into your Everything search box:
    about:config
  • Press ENTER in your Everything search box.
    ---this will open your %APPDATA%\Everything\Everything-1.5a.ini in Notepad---
  • Please change the following lines:
    to:
    color_filters=c:**;d:**;e:**
    color_filters_foreground_color=#ff0000;#00ff00;#0000ff
    color_filters_dark_foreground_color=#ff0000;#00ff00;#0000ff
    color_filters_type=1,1,1
    where each setting is a semicolon (;) delimited list of values.
Hello David!
It doesn't work for me and ";" are automatically changed to "," in ini file ...

Code: Select all

color_filters=c:**,d:**,e:**
color_filters_type=1,1,1
color_filters_foreground_color=#ff0000,#00ff00,#0000ff
color_filters_dark_foreground_color=#ff0000,#00ff00,#0000ff
What am i missing?
void
Developer
Posts: 16683
Joined: Fri Oct 16, 2009 11:31 pm

Re: Font Color for diferent drives

Post by void »

Ah, sorry, it should have been:

color_filters_type=3,3,3



type can be one of the following values:
0 = use default settings (files only)
1 = folders only
2 = files only
3 = files and folders.


, or ; can be used to separate items in your lists.



More information here.
ovg
Posts: 294
Joined: Thu Oct 27, 2016 7:19 pm

Re: Font Color for diferent drives

Post by ovg »

Thanks David!

Now working fine, but before changing ini file the EV and EV service should be stopped, otherwise doesn't working for me (changes in ini file are lost)
mcweb
Posts: 3
Joined: Fri Nov 11, 2022 3:57 pm

Re: Font Color for diferent drives

Post by mcweb »

WOW! Works great! Took me a little bit to configure the way I liked, but now all good!
Post Reply