2024-01-12 15:15:36 +03:00
|
|
|
# A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config.
|
|
|
|
# If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas.
|
|
|
|
"$schema" = "https://yazi-rs.github.io/schemas/theme.json"
|
|
|
|
|
2023-10-12 19:34:04 +03:00
|
|
|
# vim:fileencoding=utf-8:foldmethod=marker
|
|
|
|
|
2023-10-13 13:49:24 +03:00
|
|
|
# : Manager {{{
|
|
|
|
|
|
|
|
[manager]
|
|
|
|
cwd = { fg = "cyan" }
|
|
|
|
|
|
|
|
# Hovered
|
2023-10-21 06:11:10 +03:00
|
|
|
hovered = { fg = "black", bg = "lightblue" }
|
2023-10-13 13:49:24 +03:00
|
|
|
preview_hovered = { underline = true }
|
|
|
|
|
|
|
|
# Find
|
|
|
|
find_keyword = { fg = "yellow", italic = true }
|
|
|
|
find_position = { fg = "magenta", bg = "reset", italic = true }
|
|
|
|
|
|
|
|
# Marker
|
|
|
|
marker_selected = { fg = "lightgreen", bg = "lightgreen" }
|
|
|
|
marker_copied = { fg = "lightyellow", bg = "lightyellow" }
|
|
|
|
marker_cut = { fg = "lightred", bg = "lightred" }
|
|
|
|
|
|
|
|
# Tab
|
2023-10-21 06:11:10 +03:00
|
|
|
tab_active = { fg = "black", bg = "lightblue" }
|
|
|
|
tab_inactive = { fg = "white", bg = "darkgray" }
|
2023-10-13 13:49:24 +03:00
|
|
|
tab_width = 1
|
|
|
|
|
2023-10-15 20:03:07 +03:00
|
|
|
# Border
|
|
|
|
border_symbol = "│"
|
|
|
|
border_style = { fg = "gray" }
|
|
|
|
|
2023-10-13 13:49:24 +03:00
|
|
|
# Highlighting
|
|
|
|
syntect_theme = ""
|
|
|
|
|
|
|
|
# : }}}
|
|
|
|
|
|
|
|
|
2023-10-12 19:34:04 +03:00
|
|
|
# : Status {{{
|
2023-07-17 19:34:58 +03:00
|
|
|
|
|
|
|
[status]
|
2023-10-13 13:49:24 +03:00
|
|
|
separator_open = ""
|
|
|
|
separator_close = ""
|
|
|
|
separator_style = { fg = "darkgray", bg = "darkgray" }
|
2023-07-17 19:34:58 +03:00
|
|
|
|
2023-10-11 19:09:10 +03:00
|
|
|
# Mode
|
2023-10-21 06:11:10 +03:00
|
|
|
mode_normal = { fg = "black", bg = "lightblue", bold = true }
|
|
|
|
mode_select = { fg = "black", bg = "lightgreen", bold = true }
|
|
|
|
mode_unset = { fg = "black", bg = "lightmagenta", bold = true }
|
2023-07-17 19:34:58 +03:00
|
|
|
|
2023-10-11 19:09:10 +03:00
|
|
|
# Progress
|
2023-10-21 04:40:40 +03:00
|
|
|
progress_label = { bold = true }
|
2023-10-21 06:11:10 +03:00
|
|
|
progress_normal = { fg = "blue", bg = "black" }
|
|
|
|
progress_error = { fg = "red", bg = "black" }
|
2023-10-11 19:09:10 +03:00
|
|
|
|
|
|
|
# Permissions
|
2023-10-12 19:34:04 +03:00
|
|
|
permissions_t = { fg = "lightgreen" }
|
|
|
|
permissions_r = { fg = "lightyellow" }
|
|
|
|
permissions_w = { fg = "lightred" }
|
|
|
|
permissions_x = { fg = "lightcyan" }
|
|
|
|
permissions_s = { fg = "darkgray" }
|
|
|
|
|
|
|
|
# : }}}
|
|
|
|
|
|
|
|
|
2023-11-07 15:24:53 +03:00
|
|
|
# : Select {{{
|
2023-10-12 19:34:04 +03:00
|
|
|
|
2023-11-07 15:24:53 +03:00
|
|
|
[select]
|
2023-10-13 13:49:24 +03:00
|
|
|
border = { fg = "blue" }
|
2023-11-07 15:24:53 +03:00
|
|
|
active = { fg = "magenta" }
|
|
|
|
inactive = {}
|
2023-10-13 13:49:24 +03:00
|
|
|
|
|
|
|
# : }}}
|
2023-10-11 19:09:10 +03:00
|
|
|
|
2023-07-17 19:34:58 +03:00
|
|
|
|
2023-11-07 15:24:53 +03:00
|
|
|
# : Input {{{
|
2023-10-13 13:49:24 +03:00
|
|
|
|
2023-11-07 15:24:53 +03:00
|
|
|
[input]
|
2023-10-13 13:49:24 +03:00
|
|
|
border = { fg = "blue" }
|
2023-11-07 15:24:53 +03:00
|
|
|
title = {}
|
|
|
|
value = {}
|
|
|
|
selected = { reversed = true }
|
2023-10-13 13:49:24 +03:00
|
|
|
|
|
|
|
# : }}}
|
|
|
|
|
|
|
|
|
2023-11-04 01:30:52 +03:00
|
|
|
# : Completion {{{
|
|
|
|
|
|
|
|
[completion]
|
|
|
|
border = { fg = "blue" }
|
|
|
|
active = { bg = "darkgray" }
|
|
|
|
inactive = {}
|
|
|
|
|
|
|
|
# Icons
|
|
|
|
icon_file = ""
|
|
|
|
icon_folder = ""
|
|
|
|
icon_command = ""
|
|
|
|
|
|
|
|
# : }}}
|
|
|
|
|
|
|
|
|
2023-10-13 13:49:24 +03:00
|
|
|
# : Tasks {{{
|
2023-07-17 19:34:58 +03:00
|
|
|
|
2023-10-13 13:49:24 +03:00
|
|
|
[tasks]
|
|
|
|
border = { fg = "blue" }
|
|
|
|
title = {}
|
|
|
|
hovered = { underline = true }
|
|
|
|
|
|
|
|
# : }}}
|
|
|
|
|
|
|
|
|
|
|
|
# : Which {{{
|
|
|
|
|
|
|
|
[which]
|
|
|
|
mask = { bg = "black" }
|
|
|
|
cand = { fg = "lightcyan" }
|
|
|
|
rest = { fg = "darkgray" }
|
|
|
|
desc = { fg = "magenta" }
|
|
|
|
separator = " "
|
|
|
|
separator_style = { fg = "darkgray" }
|
|
|
|
|
|
|
|
# : }}}
|
|
|
|
|
|
|
|
|
|
|
|
# : Help {{{
|
|
|
|
|
|
|
|
[help]
|
|
|
|
on = { fg = "magenta" }
|
|
|
|
exec = { fg = "cyan" }
|
|
|
|
desc = { fg = "gray" }
|
|
|
|
hovered = { bg = "darkgray", bold = true }
|
|
|
|
footer = { fg = "black", bg = "white" }
|
2023-07-17 19:34:58 +03:00
|
|
|
|
2023-10-12 19:34:04 +03:00
|
|
|
# : }}}
|
|
|
|
|
|
|
|
|
|
|
|
# : File-specific styles {{{
|
|
|
|
|
2023-07-17 19:34:58 +03:00
|
|
|
[filetype]
|
|
|
|
|
|
|
|
rules = [
|
|
|
|
# Images
|
2023-10-12 19:34:04 +03:00
|
|
|
{ mime = "image/*", fg = "cyan" },
|
2023-07-17 19:34:58 +03:00
|
|
|
|
|
|
|
# Videos
|
2023-10-12 19:34:04 +03:00
|
|
|
{ mime = "video/*", fg = "yellow" },
|
|
|
|
{ mime = "audio/*", fg = "yellow" },
|
2023-07-17 19:34:58 +03:00
|
|
|
|
|
|
|
# Archives
|
2023-10-12 19:34:04 +03:00
|
|
|
{ mime = "application/zip", fg = "magenta" },
|
|
|
|
{ mime = "application/gzip", fg = "magenta" },
|
|
|
|
{ mime = "application/x-tar", fg = "magenta" },
|
|
|
|
{ mime = "application/x-bzip", fg = "magenta" },
|
|
|
|
{ mime = "application/x-bzip2", fg = "magenta" },
|
|
|
|
{ mime = "application/x-7z-compressed", fg = "magenta" },
|
|
|
|
{ mime = "application/x-rar", fg = "magenta" },
|
2023-11-22 06:55:44 +03:00
|
|
|
{ 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" },
|
2023-07-17 19:34:58 +03:00
|
|
|
|
|
|
|
# Fallback
|
2023-10-15 20:03:07 +03:00
|
|
|
# { name = "*", fg = "white" },
|
2023-10-12 19:34:04 +03:00
|
|
|
{ name = "*/", fg = "blue" }
|
2023-07-17 19:34:58 +03:00
|
|
|
]
|
|
|
|
|
2024-01-10 18:24:36 +03:00
|
|
|
[icon]
|
|
|
|
|
|
|
|
rules = [
|
|
|
|
# Programming
|
|
|
|
{ name = "*.c" , text = "" },
|
|
|
|
{ name = "*.cpp" , text = "" },
|
|
|
|
{ name = "*.css" , text = "" },
|
|
|
|
{ name = "*.fish" , text = "" },
|
|
|
|
{ name = "*.go" , text = "" },
|
|
|
|
{ name = "*.h" , text = "" },
|
|
|
|
{ name = "*.hpp" , text = "" },
|
|
|
|
{ name = "*.html" , text = "" },
|
|
|
|
{ name = "*.java" , text = "" },
|
|
|
|
{ name = "*.js" , text = "" },
|
|
|
|
{ name = "*.jsx" , text = "" },
|
|
|
|
{ name = "*.lua" , text = "" },
|
|
|
|
{ name = "*.nix" , text = "" },
|
|
|
|
{ name = "*.php" , text = "" },
|
|
|
|
{ name = "*.py" , text = "" },
|
|
|
|
{ name = "*.rb" , text = "" },
|
|
|
|
{ name = "*.rs" , text = "" },
|
|
|
|
{ name = "*.scss" , text = "" },
|
|
|
|
{ name = "*.sh" , text = "" },
|
|
|
|
{ name = "*.swift", text = "" },
|
|
|
|
{ name = "*.ts" , text = "" },
|
|
|
|
{ name = "*.tsx" , text = "" },
|
|
|
|
{ name = "*.vim" , text = "" },
|
|
|
|
{ name = "*.vue" , text = "" },
|
|
|
|
|
|
|
|
# Text
|
|
|
|
{ name = "*.conf", text = "" },
|
|
|
|
{ name = "*.ini" , text = "" },
|
|
|
|
{ name = "*.json", text = "" },
|
|
|
|
{ name = "*.md" , text = "" },
|
|
|
|
{ name = "*.toml", text = "" },
|
|
|
|
{ name = "*.txt", text = "" },
|
|
|
|
{ name = "*.yaml", text = "" },
|
|
|
|
{ name = "*.yml" , text = "" },
|
|
|
|
|
|
|
|
# Archives
|
|
|
|
{ name = "*.7z" , text = "" },
|
|
|
|
{ name = "*.bz2", text = "" },
|
|
|
|
{ name = "*.gz" , text = "" },
|
|
|
|
{ name = "*.rar", text = "" },
|
|
|
|
{ name = "*.tar", text = "" },
|
|
|
|
{ name = "*.xz" , text = "" },
|
|
|
|
{ name = "*.zip", text = "" },
|
|
|
|
|
|
|
|
# Images
|
|
|
|
{ name = "*.HEIC", text = "" },
|
|
|
|
{ name = "*.avif", text = "" },
|
|
|
|
{ name = "*.bmp" , text = "" },
|
|
|
|
{ name = "*.gif" , text = "" },
|
|
|
|
{ name = "*.ico" , text = "" },
|
|
|
|
{ name = "*.jpeg", text = "" },
|
|
|
|
{ name = "*.jpg" , text = "" },
|
|
|
|
{ name = "*.png" , text = "" },
|
|
|
|
{ name = "*.svg" , text = "" },
|
|
|
|
{ name = "*.webp", text = "" },
|
|
|
|
|
|
|
|
# Movies
|
|
|
|
{ name = "*.avi" , text = "" },
|
|
|
|
{ name = "*.mkv" , text = "" },
|
|
|
|
{ name = "*.mov" , text = "" },
|
|
|
|
{ name = "*.mp4" , text = "" },
|
|
|
|
{ name = "*.webm", text = "" },
|
|
|
|
|
|
|
|
# Audio
|
|
|
|
{ name = "*.aac" , text = "" },
|
|
|
|
{ name = "*.flac", text = "" },
|
|
|
|
{ name = "*.m4a" , text = "" },
|
|
|
|
{ name = "*.mp3" , text = "" },
|
|
|
|
{ name = "*.ogg" , text = "" },
|
|
|
|
{ name = "*.wav" , text = "" },
|
|
|
|
|
|
|
|
# Documents
|
|
|
|
{ name = "*.csv" , text = "" },
|
|
|
|
{ name = "*.doc" , text = "" },
|
|
|
|
{ name = "*.doct", text = "" },
|
|
|
|
{ name = "*.docx", text = "" },
|
|
|
|
{ name = "*.dot" , text = "" },
|
|
|
|
{ name = "*.ods" , text = "" },
|
|
|
|
{ name = "*.ots" , text = "" },
|
|
|
|
{ name = "*.pdf" , text = "" },
|
|
|
|
{ name = "*.pom" , text = "" },
|
|
|
|
{ name = "*.pot" , text = "" },
|
|
|
|
{ name = "*.potx", text = "" },
|
|
|
|
{ name = "*.ppm" , text = "" },
|
|
|
|
{ name = "*.ppmx", text = "" },
|
|
|
|
{ name = "*.pps" , text = "" },
|
|
|
|
{ name = "*.ppsx", text = "" },
|
|
|
|
{ name = "*.ppt" , text = "" },
|
|
|
|
{ name = "*.pptx", text = "" },
|
|
|
|
{ name = "*.xlc" , text = "" },
|
|
|
|
{ name = "*.xlm" , text = "" },
|
|
|
|
{ name = "*.xls" , text = "" },
|
|
|
|
{ name = "*.xlsm", text = "" },
|
|
|
|
{ name = "*.xlsx", text = "" },
|
|
|
|
{ name = "*.xlt" , text = "" },
|
|
|
|
|
|
|
|
# Lockfiles
|
|
|
|
{ name = "*.lock", text = "" },
|
|
|
|
|
|
|
|
# Misc
|
|
|
|
{ name = "*.bin", text = "" },
|
|
|
|
{ name = "*.exe", text = "" },
|
|
|
|
{ name = "*.pkg", text = "" },
|
|
|
|
|
|
|
|
# Dotfiles
|
|
|
|
{ name = ".DS_Store" , text = "" },
|
|
|
|
{ name = ".bashprofile" , text = "" },
|
|
|
|
{ name = ".bashrc" , text = "" },
|
|
|
|
{ name = ".gitattributes", text = "" },
|
|
|
|
{ name = ".gitignore" , text = "" },
|
|
|
|
{ name = ".gitmodules" , text = "" },
|
|
|
|
{ name = ".vimrc" , text = "" },
|
|
|
|
{ name = ".zprofile" , text = "" },
|
|
|
|
{ name = ".zshenv" , text = "" },
|
|
|
|
{ name = ".zshrc" , text = "" },
|
|
|
|
|
|
|
|
# Named files
|
|
|
|
{ name = "COPYING" , text = "" },
|
|
|
|
{ name = "Containerfile", text = "" },
|
|
|
|
{ name = "Dockerfile" , text = "" },
|
|
|
|
{ name = "LICENSE" , text = "" },
|
|
|
|
|
|
|
|
# Directories
|
|
|
|
{ name = ".config/" , text = "" },
|
|
|
|
{ name = ".git/" , text = "" },
|
|
|
|
{ name = "Desktop/" , text = "" },
|
|
|
|
{ name = "Development/", text = "" },
|
|
|
|
{ name = "Documents/" , text = "" },
|
|
|
|
{ name = "Downloads/" , text = "" },
|
|
|
|
{ name = "Library/" , text = "" },
|
|
|
|
{ name = "Movies/" , text = "" },
|
|
|
|
{ name = "Music/" , text = "" },
|
|
|
|
{ name = "Pictures/" , text = "" },
|
|
|
|
{ name = "Public/" , text = "" },
|
|
|
|
{ name = "Videos/" , text = "" },
|
|
|
|
|
|
|
|
# Default
|
|
|
|
{ name = "*" , text = "" },
|
|
|
|
{ name = "*/", text = "" },
|
|
|
|
]
|
2023-10-12 19:34:04 +03:00
|
|
|
|
|
|
|
# : }}}
|