feat: add document mime-types, extensions and icons

This commit is contained in:
Martin Wimpress 2023-11-21 22:20:05 +00:00
parent 74bdc07479
commit 907d5c3e6a
No known key found for this signature in database
GPG key ID: 61DF940515E06DA3

View file

@ -157,6 +157,12 @@ rules = [
{ mime = "application/x-rar", fg = "magenta" },
{ mime = "application/xz", fg = "magenta" },
# Documents
{ mime = "application/doc", fg = "green"},
{ mime = "application/pdf", fg = "green"},
{ mime = "application/rtf", fg = "green"},
{ mime = "application/vnd.*", fg = "green"},
# Fallback
# { name = "*", fg = "white" },
{ name = "*/", fg = "blue" }
@ -203,6 +209,32 @@ rules = [
"*.bz2" = ""
"*.xz" = ""
# Documents
"*.csv" = ""
"*.doc" = ""
"*.doct" = ""
"*.docx" = ""
"*.dot" = ""
"*.ods" = ""
"*.ots" = ""
"*.pdf" = ""
"*.pom" = ""
"*.pot" = ""
"*.ppm" = ""
"*.pps" = ""
"*.ppt" = ""
"*.potx" = ""
"*.ppmx" = ""
"*.ppmx" = ""
"*.ppsx" = ""
"*.pptx" = ""
"*.xlc" = ""
"*.xlm" = ""
"*.xls" = ""
"*.xlt" = ""
"*.xlsm" = ""
"*.xlsx" = ""
# Audio
"*.mp3" = ""
"*.flac" = ""