]> Sergey Matveev's repositories - nnn.git/commitdiff
add icon for opus files
authorNRK <nrk@disroot.org>
Tue, 14 Dec 2021 18:45:58 +0000 (00:45 +0600)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 25 Dec 2021 02:43:39 +0000 (08:13 +0530)
src/icons-nerdfont.h
src/icons.h

index bda2932154edd6b62b83955b76acf5d8ab386001..d5316fbe20b057711208642ca8ed59a73d8cc8f9 100644 (file)
 /* O */
 #define ICON_EXT_O         ICON_MANUAL
 #define ICON_EXT_OGG       ICON_MUSICFILE
+#define ICON_EXT_OPUS      ICON_MUSICFILE
 #define ICON_EXT_ODOWNLOAD ICON_DOWNLOADS
 #define ICON_EXT_OUT       ICON_LINUX
 
index cc5fded2dbc651155667a9c9bd44062684d1d1bf..ca345a452cc35736dff515adbd5c2366a2f70172 100644 (file)
@@ -223,6 +223,7 @@ static const struct icon_pair icons_ext[] = {
        /* O */
        {"o",          FILE_MANPAGE,       0},
        {"ogg",        FA_FILE_AUDIO_O,    COLOR_AUDIO},
+       {"opus",       FA_FILE_AUDIO_O,    COLOR_AUDIO},
        {"opdownload", FA_DOWNLOAD,        0},
        {"out",        FA_LINUX,           0},
 
@@ -436,6 +437,7 @@ static const struct icon_pair icons_ext[] = {
        /* O */
        {"o",          ICON_EXT_O,         0},
        {"ogg",        ICON_EXT_OGG,       COLOR_AUDIO},
+       {"opus",       ICON_EXT_OPUS,      COLOR_AUDIO},
        {"opdownload", ICON_EXT_ODOWNLOAD, 0},
        {"out",        ICON_EXT_OUT,       0},