mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
add Unix file style and update media style
This commit is contained in:
parent
2225d97b2d
commit
f74d6b4a42
1 changed files with 9 additions and 3 deletions
|
|
@ -169,10 +169,9 @@ icon_error = ""
|
|||
[filetype]
|
||||
|
||||
rules = [
|
||||
# Images
|
||||
{ mime = "image/*", fg = "cyan" },
|
||||
|
||||
# Videos
|
||||
# Media
|
||||
{ mime = "image/*", fg = "yellow" },
|
||||
{ mime = "video/*", fg = "yellow" },
|
||||
{ mime = "audio/*", fg = "yellow" },
|
||||
|
||||
|
|
@ -192,6 +191,13 @@ rules = [
|
|||
{ mime = "application/rtf", fg = "green" },
|
||||
{ mime = "application/vnd.*", fg = "green" },
|
||||
|
||||
# Unix File
|
||||
{ mime = "inode/symlink", fg = "cyan" },
|
||||
{ mime = "inode/socket", fg = "cyan" },
|
||||
{ mime = "inode/fifo", fg = "cyan" },
|
||||
{ mime = "inode/chardevice", fg = "cyan" },
|
||||
{ mime = "inode/blockdevice", fg = "cyan" },
|
||||
|
||||
# Fallback
|
||||
# { name = "*", fg = "white" },
|
||||
{ name = "*/", fg = "blue" }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue