From: NRK <nrk@disroot.org>
Date: Tue, 14 Dec 2021 18:45:58 +0000 (+0600)
Subject: add icon for opus files
X-Git-Tag: v4.5~42^2~12^2
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=7aef60a9d54ee2cdab23a2a571d905d24719a3b7;p=nnn.git

add icon for opus files
---

diff --git a/src/icons-nerdfont.h b/src/icons-nerdfont.h
index bda29321..d5316fbe 100644
--- 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
index cc5fded2..ca345a45 100644
--- 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},