commit 7aef60a9d54ee2cdab23a2a571d905d24719a3b7
parent 1bc234b0eba9d9b385962a8c74a6e3a94397f67e
Author: NRK <nrk@disroot.org>
Date: Wed, 15 Dec 2021 00:45:58 +0600
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},