2024-01-13 18:19:40 +03:00
|
|
|
# A TOML linter such as https://taplo.tamasfe.dev/ can use this schema to validate your config.
|
2024-01-12 15:15:36 +03:00
|
|
|
# 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
|
|
|
|
|
2024-02-29 06:54:41 +03:00
|
|
|
# : Flavor {{{
|
|
|
|
|
|
|
|
[flavor]
|
|
|
|
use = ""
|
|
|
|
|
|
|
|
# : }}}
|
|
|
|
|
2023-10-13 13:49:24 +03:00
|
|
|
# : Manager {{{
|
|
|
|
|
|
|
|
[manager]
|
|
|
|
cwd = { fg = "cyan" }
|
|
|
|
|
|
|
|
# Hovered
|
2024-02-24 04:11:53 +03:00
|
|
|
hovered = { reversed = true }
|
2023-10-13 13:49:24 +03:00
|
|
|
preview_hovered = { underline = true }
|
|
|
|
|
|
|
|
# Find
|
2024-02-24 04:11:53 +03:00
|
|
|
find_keyword = { fg = "yellow", bold = true, italic = true, underline = true }
|
|
|
|
find_position = { fg = "magenta", bg = "reset", bold = true, italic = true }
|
2023-10-13 13:49:24 +03:00
|
|
|
|
|
|
|
# Marker
|
2024-02-15 15:24:20 +03:00
|
|
|
marker_copied = { fg = "lightgreen", bg = "lightgreen" }
|
2023-10-13 13:49:24 +03:00
|
|
|
marker_cut = { fg = "lightred", bg = "lightred" }
|
2024-04-13 05:33:42 +03:00
|
|
|
marker_marked = { fg = "lightcyan", bg = "lightcyan" }
|
|
|
|
marker_selected = { fg = "lightyellow", bg = "lightyellow" }
|
2023-10-13 13:49:24 +03:00
|
|
|
|
|
|
|
# Tab
|
2024-03-06 16:44:38 +03:00
|
|
|
tab_active = { reversed = true }
|
|
|
|
tab_inactive = {}
|
2023-10-13 13:49:24 +03:00
|
|
|
tab_width = 1
|
|
|
|
|
2024-02-15 17:54:57 +03:00
|
|
|
# Count
|
2024-03-06 16:44:38 +03:00
|
|
|
count_copied = { fg = "white", bg = "green" }
|
|
|
|
count_cut = { fg = "white", bg = "red" }
|
|
|
|
count_selected = { fg = "white", bg = "blue" }
|
2024-02-15 17:54:57 +03:00
|
|
|
|
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 = ""
|
2024-03-06 16:44:38 +03:00
|
|
|
separator_style = { fg = "gray", bg = "gray" }
|
2023-07-17 19:34:58 +03:00
|
|
|
|
2023-10-11 19:09:10 +03:00
|
|
|
# Mode
|
2024-03-06 16:44:38 +03:00
|
|
|
mode_normal = { bg = "blue", bold = true }
|
|
|
|
mode_select = { bg = "red", bold = true }
|
|
|
|
mode_unset = { bg = "red", 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
|
2024-03-06 16:44:38 +03:00
|
|
|
permissions_t = { fg = "green" }
|
|
|
|
permissions_r = { fg = "yellow" }
|
|
|
|
permissions_w = { fg = "red" }
|
|
|
|
permissions_x = { fg = "cyan" }
|
2023-10-12 19:34:04 +03:00
|
|
|
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" }
|
2024-03-06 16:44:38 +03:00
|
|
|
active = { fg = "magenta", bold = true }
|
2023-11-07 15:24:53 +03:00
|
|
|
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" }
|
2024-03-06 16:44:38 +03:00
|
|
|
active = { reversed = true }
|
2023-11-04 01:30:52 +03:00
|
|
|
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 = {}
|
2024-03-06 16:44:38 +03:00
|
|
|
hovered = { fg = "magenta", underline = true }
|
2023-10-13 13:49:24 +03:00
|
|
|
|
|
|
|
# : }}}
|
|
|
|
|
|
|
|
|
|
|
|
# : Which {{{
|
|
|
|
|
|
|
|
[which]
|
2024-01-24 11:18:40 +03:00
|
|
|
cols = 3
|
2023-10-13 13:49:24 +03:00
|
|
|
mask = { bg = "black" }
|
|
|
|
cand = { fg = "lightcyan" }
|
|
|
|
rest = { fg = "darkgray" }
|
2024-03-06 16:44:38 +03:00
|
|
|
desc = { fg = "lightmagenta" }
|
2023-10-13 13:49:24 +03:00
|
|
|
separator = " "
|
|
|
|
separator_style = { fg = "darkgray" }
|
|
|
|
|
|
|
|
# : }}}
|
|
|
|
|
|
|
|
|
|
|
|
# : Help {{{
|
|
|
|
|
|
|
|
[help]
|
2024-03-06 16:44:38 +03:00
|
|
|
on = { fg = "cyan" }
|
|
|
|
run = { fg = "magenta" }
|
|
|
|
desc = {}
|
|
|
|
hovered = { reversed = true, bold = true }
|
2023-10-13 13:49:24 +03:00
|
|
|
footer = { fg = "black", bg = "white" }
|
2023-07-17 19:34:58 +03:00
|
|
|
|
2023-10-12 19:34:04 +03:00
|
|
|
# : }}}
|
|
|
|
|
|
|
|
|
2024-02-29 07:02:27 +03:00
|
|
|
# : Notify {{{
|
|
|
|
|
|
|
|
[notify]
|
|
|
|
title_info = { fg = "green" }
|
2024-03-02 06:01:52 +03:00
|
|
|
title_warn = { fg = "yellow" }
|
2024-02-29 07:02:27 +03:00
|
|
|
title_error = { fg = "red" }
|
|
|
|
|
|
|
|
# Icons
|
|
|
|
icon_info = ""
|
|
|
|
icon_warn = ""
|
|
|
|
icon_error = ""
|
|
|
|
|
|
|
|
# : }}}
|
|
|
|
|
|
|
|
|
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
|
|
|
|
2024-03-06 16:44:38 +03:00
|
|
|
# Media
|
2024-04-14 06:11:31 +03:00
|
|
|
{ mime = "{audio,video}/*", fg = "yellow" },
|
2023-07-17 19:34:58 +03:00
|
|
|
|
|
|
|
# Archives
|
2024-04-14 06:11:31 +03:00
|
|
|
{ mime = "application/*zip", fg = "magenta" },
|
|
|
|
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", fg = "magenta" },
|
2023-11-22 06:55:44 +03:00
|
|
|
|
|
|
|
# Documents
|
2024-04-14 06:11:31 +03:00
|
|
|
{ mime = "application/{pdf,doc,rtf,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
|
2024-02-15 14:29:15 +03:00
|
|
|
{ name = "*.c" , text = "", fg = "#599eff" },
|
|
|
|
{ name = "*.cpp" , text = "", fg = "#519aba" },
|
2024-02-16 08:13:33 +03:00
|
|
|
{ name = "*.class", text = "", fg = "#cc3e44" },
|
2024-02-22 02:02:55 +03:00
|
|
|
{ name = "*.cs" , text = "", fg = "#596706" },
|
2024-02-15 14:29:15 +03:00
|
|
|
{ name = "*.css" , text = "", fg = "#42a5f5" },
|
2024-02-16 08:13:33 +03:00
|
|
|
{ name = "*.elm" , text = "", fg = "#4391d2" },
|
2024-02-15 14:29:15 +03:00
|
|
|
{ name = "*.fish" , text = "", fg = "#4d5a5e" },
|
|
|
|
{ name = "*.go" , text = "", fg = "#519aba" },
|
|
|
|
{ name = "*.h" , text = "", fg = "#a074c4" },
|
|
|
|
{ name = "*.hpp" , text = "", fg = "#a074c4" },
|
|
|
|
{ name = "*.html" , text = "", fg = "#e44d26" },
|
2024-02-16 08:13:33 +03:00
|
|
|
{ name = "*.jar" , text = "", fg = "#cc3e44" },
|
2024-02-15 14:29:15 +03:00
|
|
|
{ name = "*.java" , text = "", fg = "#cc3e44" },
|
|
|
|
{ name = "*.js" , text = "", fg = "#F1F134" },
|
|
|
|
{ name = "*.jsx" , text = "", fg = "#20c2e3" },
|
|
|
|
{ name = "*.lua" , text = "", fg = "#51a0cf" },
|
|
|
|
{ name = "*.nix" , text = "", fg = "#7ebae4" },
|
2024-02-22 02:02:55 +03:00
|
|
|
{ name = "*.nu" , text = ">", fg = "#3aa675" },
|
2024-02-15 14:29:15 +03:00
|
|
|
{ name = "*.php" , text = "", fg = "#a074c4" },
|
|
|
|
{ name = "*.py" , text = "", fg = "#ffbc03" },
|
|
|
|
{ name = "*.rb" , text = "", fg = "#701516" },
|
|
|
|
{ name = "*.rs" , text = "", fg = "#dea584" },
|
2024-02-16 08:13:33 +03:00
|
|
|
{ name = "*.sbt" , text = "", fg = "#4d5a5e" },
|
|
|
|
{ name = "*.scala", text = "", fg = "#cc463e" },
|
2024-02-15 14:29:15 +03:00
|
|
|
{ name = "*.scss" , text = "", fg = "#f55385" },
|
|
|
|
{ name = "*.sh" , text = "", fg = "#4d5a5e" },
|
|
|
|
{ name = "*.swift", text = "", fg = "#e37933" },
|
|
|
|
{ name = "*.ts" , text = "", fg = "#519aba" },
|
|
|
|
{ name = "*.tsx" , text = "", fg = "#1354bf" },
|
|
|
|
{ name = "*.vim" , text = "", fg = "#019833" },
|
|
|
|
{ name = "*.vue" , text = "", fg = "#8dc149" },
|
2024-01-10 18:24:36 +03:00
|
|
|
|
|
|
|
# Text
|
2024-02-15 14:29:15 +03:00
|
|
|
{ name = "*.conf", text = "", fg = "#6d8086" },
|
|
|
|
{ name = "*.ini" , text = "", fg = "#6d8086" },
|
|
|
|
{ name = "*.json", text = "", fg = "#cbcb41" },
|
2024-02-22 02:02:55 +03:00
|
|
|
{ name = "*.kdl" , text = "", fg = "#6d8086" },
|
|
|
|
{ name = "*.md" , text = "", fg = "#ffffff" },
|
2024-02-15 14:29:15 +03:00
|
|
|
{ name = "*.toml", text = "", fg = "#ffffff" },
|
2024-02-22 02:02:55 +03:00
|
|
|
{ name = "*.txt" , text = "", fg = "#89e051" },
|
2024-02-15 14:29:15 +03:00
|
|
|
{ name = "*.yaml", text = "", fg = "#6d8086" },
|
|
|
|
{ name = "*.yml" , text = "", fg = "#6d8086" },
|
2024-01-10 18:24:36 +03:00
|
|
|
|
|
|
|
# Archives
|
|
|
|
{ name = "*.7z" , text = "" },
|
|
|
|
{ name = "*.bz2", text = "" },
|
|
|
|
{ name = "*.gz" , text = "" },
|
|
|
|
{ name = "*.rar", text = "" },
|
|
|
|
{ name = "*.tar", text = "" },
|
|
|
|
{ name = "*.xz" , text = "" },
|
|
|
|
{ name = "*.zip", text = "" },
|
|
|
|
|
|
|
|
# Images
|
2024-02-15 14:29:15 +03:00
|
|
|
{ name = "*.HEIC", text = "", fg = "#a074c4" },
|
|
|
|
{ name = "*.avif", text = "", fg = "#a074c4" },
|
|
|
|
{ name = "*.bmp" , text = "", fg = "#a074c4" },
|
|
|
|
{ name = "*.gif" , text = "", fg = "#a074c4" },
|
|
|
|
{ name = "*.ico" , text = "", fg = "#cbcb41" },
|
|
|
|
{ name = "*.jpeg", text = "", fg = "#a074c4" },
|
|
|
|
{ name = "*.jpg" , text = "", fg = "#a074c4" },
|
|
|
|
{ name = "*.png" , text = "", fg = "#a074c4" },
|
|
|
|
{ name = "*.svg" , text = "", fg = "#FFB13B" },
|
|
|
|
{ name = "*.webp", text = "", fg = "#a074c4" },
|
2024-01-10 18:24:36 +03:00
|
|
|
|
|
|
|
# Movies
|
2024-02-15 14:29:15 +03:00
|
|
|
{ name = "*.avi" , text = "", fg = "#FD971F" },
|
|
|
|
{ name = "*.mkv" , text = "", fg = "#FD971F" },
|
|
|
|
{ name = "*.mov" , text = "", fg = "#FD971F" },
|
|
|
|
{ name = "*.mp4" , text = "", fg = "#FD971F" },
|
|
|
|
{ name = "*.webm", text = "", fg = "#FD971F" },
|
2024-01-10 18:24:36 +03:00
|
|
|
|
|
|
|
# Audio
|
2024-02-15 14:29:15 +03:00
|
|
|
{ name = "*.aac" , text = "", fg = "#66D8EF" },
|
|
|
|
{ name = "*.flac", text = "", fg = "#66D8EF" },
|
|
|
|
{ name = "*.m4a" , text = "", fg = "#66D8EF" },
|
|
|
|
{ name = "*.mp3" , text = "", fg = "#66D8EF" },
|
|
|
|
{ name = "*.ogg" , text = "", fg = "#66D8EF" },
|
|
|
|
{ name = "*.wav" , text = "", fg = "#66D8EF" },
|
2024-01-10 18:24:36 +03:00
|
|
|
|
|
|
|
# Documents
|
2024-02-15 14:29:15 +03:00
|
|
|
{ name = "*.csv" , text = "", fg = "#89e051" },
|
|
|
|
{ name = "*.doc" , text = "", fg = "#185abd" },
|
|
|
|
{ name = "*.doct", text = "", fg = "#185abd" },
|
|
|
|
{ name = "*.docx", text = "", fg = "#185abd" },
|
|
|
|
{ name = "*.dot" , text = "", fg = "#185abd" },
|
|
|
|
{ name = "*.ods" , text = "", fg = "#207245" },
|
|
|
|
{ name = "*.ots" , text = "", fg = "#207245" },
|
|
|
|
{ name = "*.pdf" , text = "", fg = "#b30b00" },
|
|
|
|
{ name = "*.pom" , text = "", fg = "#cc3e44" },
|
|
|
|
{ name = "*.pot" , text = "", fg = "#cb4a32" },
|
|
|
|
{ name = "*.potx", text = "", fg = "#cb4a32" },
|
|
|
|
{ name = "*.ppm" , text = "", fg = "#a074c4" },
|
|
|
|
{ name = "*.ppmx", text = "", fg = "#cb4a32" },
|
|
|
|
{ name = "*.pps" , text = "", fg = "#cb4a32" },
|
|
|
|
{ name = "*.ppsx", text = "", fg = "#cb4a32" },
|
|
|
|
{ name = "*.ppt" , text = "", fg = "#cb4a32" },
|
|
|
|
{ name = "*.pptx", text = "", fg = "#cb4a32" },
|
|
|
|
{ name = "*.xlc" , text = "", fg = "#207245" },
|
|
|
|
{ name = "*.xlm" , text = "", fg = "#207245" },
|
|
|
|
{ name = "*.xls" , text = "", fg = "#207245" },
|
|
|
|
{ name = "*.xlsm", text = "", fg = "#207245" },
|
|
|
|
{ name = "*.xlsx", text = "", fg = "#207245" },
|
|
|
|
{ name = "*.xlt" , text = "", fg = "#207245" },
|
2024-01-10 18:24:36 +03:00
|
|
|
|
|
|
|
# Lockfiles
|
2024-02-15 14:29:15 +03:00
|
|
|
{ name = "*.lock", text = "", fg = "#bbbbbb" },
|
2024-01-10 18:24:36 +03:00
|
|
|
|
|
|
|
# Misc
|
2024-02-15 14:29:15 +03:00
|
|
|
{ name = "*.bin", text = "", fg = "#9F0500" },
|
|
|
|
{ name = "*.exe", text = "", fg = "#9F0500" },
|
|
|
|
{ name = "*.pkg", text = "", fg = "#9F0500" },
|
2024-01-10 18:24:36 +03:00
|
|
|
|
|
|
|
# Dotfiles
|
2024-02-15 14:29:15 +03:00
|
|
|
{ name = ".DS_Store" , text = "", fg = "#41535b" },
|
|
|
|
{ name = ".bashprofile" , text = "", fg = "#89e051" },
|
|
|
|
{ name = ".bashrc" , text = "", fg = "#89e051" },
|
|
|
|
{ name = ".gitattributes", text = "", fg = "#41535b" },
|
|
|
|
{ name = ".gitignore" , text = "", fg = "#41535b" },
|
|
|
|
{ name = ".gitmodules" , text = "", fg = "#41535b" },
|
|
|
|
{ name = ".vimrc" , text = "", fg = "#019833" },
|
|
|
|
{ name = ".zprofile" , text = "", fg = "#89e051" },
|
|
|
|
{ name = ".zshenv" , text = "", fg = "#89e051" },
|
|
|
|
{ name = ".zshrc" , text = "", fg = "#89e051" },
|
2024-01-10 18:24:36 +03:00
|
|
|
|
|
|
|
# Named files
|
2024-02-15 14:29:15 +03:00
|
|
|
{ name = "COPYING" , text = "", fg = "#cbcb41" },
|
|
|
|
{ name = "Containerfile", text = "", fg = "#458ee6" },
|
|
|
|
{ name = "Dockerfile" , text = "", fg = "#458ee6" },
|
|
|
|
{ name = "LICENSE" , text = "", fg = "#d0bf41" },
|
2024-01-10 18:24:36 +03:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
# : }}}
|