This commit is contained in:
sxyazi 2023-10-13 00:32:53 +08:00
parent 57de07aff6
commit 15a4461ed0
No known key found for this signature in database
2 changed files with 37 additions and 40 deletions

View file

@ -3,14 +3,13 @@
# : Status {{{ # : Status {{{
[status] [status]
plain = { fg = "#FFFFFF" } fancy = { bg = "darkgray" }
fancy = { bg = "#45475D" }
separator = { opening = "", closing = "" } separator = { opening = "", closing = "" }
# Mode # Mode
mode_normal = { fg = "#181827", bg = "#7DB5FF", bold = true } mode_normal = { fg = "black", bg = "blue", bold = true }
mode_select = { fg = "#1E1E30", bg = "#D2A4FE", bold = true } mode_select = { fg = "black", bg = "green", bold = true }
mode_unset = { fg = "#1E1E30", bg = "#FFAF80", bold = true } mode_unset = { fg = "black", bg = "magenta", bold = true }
# Progress # Progress
progress_label = { fg = "#FFFFFF", bold = true } progress_label = { fg = "#FFFFFF", bold = true }
@ -18,11 +17,11 @@ progress_normal = { fg = "#FFA577", bg = "#484D66" }
progress_error = { fg = "#FF84A9", bg = "#484D66" } progress_error = { fg = "#FF84A9", bg = "#484D66" }
# Permissions # Permissions
permissions_t = { fg = "#97DC8D" } permissions_t = { fg = "lightgreen" }
permissions_r = { fg = "#F3D398" } permissions_r = { fg = "lightyellow" }
permissions_w = { fg = "#FA7F94" } permissions_w = { fg = "lightred" }
permissions_x = { fg = "#7AD9E5" } permissions_x = { fg = "lightcyan" }
permissions_s = { fg = "#6D738F" } permissions_s = { fg = "darkgray" }
# : }}} # : }}}
@ -30,17 +29,17 @@ permissions_s = { fg = "#6D738F" }
# : Manager {{{ # : Manager {{{
[tabs] [tabs]
active = { fg = "#1E2031", bg = "#80AEFA" } active = { fg = "black", bg = "blue" }
inactive = { fg = "#C8D3F8", bg = "#484D66" } inactive = { bg = "darkgray" }
max_width = 1 max_width = 1
[files] [files]
hovered = { fg = "#1E2031", bg = "#80AEFA" } hovered = { fg = "#000000", bg = "blue" }
[marker] [marker]
selected = { fg = "#97DC8D", bg = "#97DC8D" } selected = { fg = "lightgreen", bg = "lightgreen" }
copied = { fg = "#F3D398", bg = "#F3D398" } copied = { fg = "lightyellow", bg = "lightyellow" }
cut = { fg = "#FF84A9", bg = "#FF84A9" } cut = { fg = "lightred", bg = "lightred" }
[preview] [preview]
hovered = { underline = true } hovered = { underline = true }
@ -55,24 +54,23 @@ syntect_theme = "~/.config/bat/themes/Catppuccin-macchiato.tmTheme"
rules = [ rules = [
# Images # Images
{ mime = "image/*", fg = "#7AD9E5" }, { mime = "image/*", fg = "cyan" },
# Videos # Videos
{ mime = "video/*", fg = "#F3D398" }, { mime = "video/*", fg = "yellow" },
{ mime = "audio/*", fg = "#F3D398" }, { mime = "audio/*", fg = "yellow" },
# Archives # Archives
{ mime = "application/zip", fg = "#CD9EFC" }, { mime = "application/zip", fg = "magenta" },
{ mime = "application/gzip", fg = "#CD9EFC" }, { mime = "application/gzip", fg = "magenta" },
{ mime = "application/x-tar", fg = "#CD9EFC" }, { mime = "application/x-tar", fg = "magenta" },
{ mime = "application/x-bzip", fg = "#CD9EFC" }, { mime = "application/x-bzip", fg = "magenta" },
{ mime = "application/x-bzip2", fg = "#CD9EFC" }, { mime = "application/x-bzip2", fg = "magenta" },
{ mime = "application/x-7z-compressed", fg = "#CD9EFC" }, { mime = "application/x-7z-compressed", fg = "magenta" },
{ mime = "application/x-rar", fg = "#CD9EFC" }, { mime = "application/x-rar", fg = "magenta" },
# Fallback # Fallback
{ name = "*", fg = "#C8D3F8" }, { name = "*/", fg = "blue" }
{ name = "*/", fg = "#80AEFA" }
] ]
[icons] [icons]
@ -179,7 +177,7 @@ rules = [
border = { fg = "blue" } border = { fg = "blue" }
title = { fg = "white" } title = { fg = "white" }
value = { fg = "white" } value = { fg = "white" }
selected = { fg = "darkGray" } selected = { bg = "black" }
# : }}} # : }}}
@ -207,12 +205,12 @@ hovered = { underline = true }
# : Which {{{ # : Which {{{
[which] [which]
mask = { bg = "Black" } mask = { bg = "black" }
cand = { fg = "LightCyan" } cand = { fg = "lightcyan" }
rest = { fg = "DarkGray" } rest = { fg = "darkgray" }
desc = { fg = "Magenta" } desc = { fg = "magenta" }
separator = "  " separator = "  "
separator_style = { fg = "DarkGray" } separator_style = { fg = "darkgray" }
# : }}} # : }}}
@ -220,10 +218,10 @@ separator_style = { fg = "DarkGray" }
# : Help {{{ # : Help {{{
[help] [help]
on = { fg = "#E5E510" } on = { fg = "magenta" }
exec = { fg = "#11A8CD" } exec = { fg = "cyan" }
desc = { fg = "#E5E5E5" } desc = { fg = "gray" }
hovered = { bg = "#666666", bold = true } hovered = { bg = "darkgray", bold = true }
footer = { fg = "#666666", bg = "#E5E5E5" } footer = { fg = "black", bg = "white" }
# : }}} # : }}}

View file

@ -4,7 +4,6 @@ use super::Style;
#[derive(Deserialize, Serialize)] #[derive(Deserialize, Serialize)]
pub struct Status { pub struct Status {
pub plain: Style,
pub fancy: Style, pub fancy: Style,
pub separator: StatusSeparator, pub separator: StatusSeparator,