This is a hard-coded file named dir.jpeg that's recognised by @(fileicon) with a directory. Also, this file has a custom icon dir.jpeg.d.jpeg; <*.d.jpeg> makes it so.