commit a1b15eb766fa5bc6e8bbd27ad168f128913d0681
parent 48e478bb90036c04906457be0c9b367cb262f81a
Author: Arun <engineerarun@gmail.com>
Date: Fri, 17 Dec 2021 17:46:59 +0530
Merge pull request #1258 from N-R-K/opus_icon
add icon for opus files
Diffstat:
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/icons-nerdfont.h b/src/icons-nerdfont.h
@@ -187,6 +187,7 @@
/* 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
diff --git a/src/icons.h b/src/icons.h
@@ -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},