I don't know if anyone's still working on figuring out how to get a custom BrightScript icon into the file-icons package GitHub repository. I never had the time to try and figure it out myself.
However, I will share what I'm currently using as my own custom BrightScript icon. It's basically a purple pile of poo, taken straight from the Unicode character set, so no custom graphics needed. Just install the file-icons package and edit your Atom stylesheet as follows:
// ATOM editor stylesheet
//
// To edit:
// - Mac: Atom > Open Your Stylesheet
// - Linux: Edit > Stylesheet...
// - Windows: File > Stylesheet...
// To use a custom icon, install the file-icons package (version 2 or higher!)
// Define a custom icon style that will be used for the
// tree-view, tabs, fuzzy-finder, find-and-replace, and archive-view,
// for all file names ending in ".brs"
.icon[data-name$=".brs"]:before {
// If you want your icon to stand out more, make it bold...
font-weight: bold;
// I'll make mine a light purplish color...
color: #c7a4c0;
// You can use any supported Unicode character for the icon's content, e.g...
// content: "\1F4FA"; // TV (isn't that what a Roku's for)
// content: "\1F3AE"; // Video game console (if you're into gaming)
// content: "\1F43F"; // Chipmunk (the closest thing to a squirrel)
content: "\1F4A9"; // Pile of poo (my favorite Unicode character)
}
// You can further style the icons in the tab headers independently if you wish
.tab > .icon[data-name$=".brs"]:before {
// If the icon doesn't seem to line up the way you want, then change it...
top: -1px;
// In the tab headers, I want my purple pile of poo to be bigger...
font-size: 18px;
}
You can even make your BrightScript icon look like a squirrel (that's if you think a chipmunk looks like a squirrel). For a real squirrel icon (squirreltown), you'd have to sign this petition:
https://www.change.org/p/unicode-give-us-the-squirrel-emoji-now