This extension allows to display file and folder icons in dired mode and uses mimetype as the displayed logo and adheres to the icon-theme-spec file naming convention, which will help you to apply icon themes that you can download from the internet in your emacs.
Many thanks to @vinceliuice, whose icon resource files for the mimes section of the Qogir work are used in this repository by default.
-
Clone the repository to your emacs extension directory
-
Add the following code to your
~/.emacs
(require 'dired-mimeicon)
(add-hook 'dired-mode-hook 'dired-mimeicon-mode)
-
dired-mimeicon-name
: Usually under the themes folder there are subfolders that store a list of themes, and this variable is the name of the icon theme. -
dired-mimeicon-dir
: The location of the directory to look for, the default is the currentthemes
folder.