2024-10-11 23:27:07 +03:00
|
|
|
{ pkgs, config, ... }:
|
|
|
|
let
|
|
|
|
border = {
|
|
|
|
fg = "#${config.style.color.border}";
|
|
|
|
};
|
|
|
|
borderLight = {
|
|
|
|
fg = "#${config.style.color.accent}";
|
|
|
|
};
|
2024-11-02 06:38:37 +03:00
|
|
|
hover = {
|
|
|
|
bg = "#${config.style.color.bg.regular}";
|
|
|
|
fg = "#${config.style.color.fg.light}";
|
|
|
|
};
|
|
|
|
select = {
|
|
|
|
bg = "#${config.style.color.selection}";
|
|
|
|
fg = "#${config.style.color.fg.dark}";
|
|
|
|
};
|
|
|
|
text = {
|
|
|
|
fg = "#${config.style.color.fg.light}";
|
|
|
|
};
|
2024-10-11 23:27:07 +03:00
|
|
|
in
|
|
|
|
{
|
|
|
|
file = (pkgs.formats.toml { }).generate "YaziThemeConfig" {
|
|
|
|
manager = {
|
|
|
|
border_style = border;
|
|
|
|
border_symbol = " ";
|
2024-11-02 06:38:37 +03:00
|
|
|
cwd = text;
|
|
|
|
hovered = hover;
|
|
|
|
preview_hovered = hover;
|
|
|
|
tab_active = hover;
|
2024-10-11 23:27:07 +03:00
|
|
|
};
|
|
|
|
select = {
|
|
|
|
border = borderLight;
|
|
|
|
};
|
|
|
|
input = {
|
|
|
|
border = borderLight;
|
|
|
|
};
|
|
|
|
completion = {
|
|
|
|
border = borderLight;
|
2024-11-02 06:38:37 +03:00
|
|
|
active = hover;
|
|
|
|
inactive = text;
|
2024-10-11 23:27:07 +03:00
|
|
|
};
|
|
|
|
tasks = {
|
|
|
|
border = borderLight;
|
|
|
|
};
|
2024-11-02 06:38:37 +03:00
|
|
|
which = {
|
|
|
|
cand = text;
|
|
|
|
cols = 3;
|
|
|
|
desc = text;
|
|
|
|
mask = hover;
|
|
|
|
rest = text;
|
2024-11-02 06:39:14 +03:00
|
|
|
separator = " - ";
|
2024-11-02 06:38:37 +03:00
|
|
|
separator_style = text;
|
|
|
|
};
|
2024-08-10 01:23:09 +03:00
|
|
|
|
2024-10-11 23:27:07 +03:00
|
|
|
status = {
|
2024-11-02 06:38:37 +03:00
|
|
|
mode_normal = hover;
|
|
|
|
mode_select = select;
|
|
|
|
permissions_r = text;
|
|
|
|
permissions_s = text;
|
|
|
|
permissions_t = text;
|
|
|
|
permissions_w = text;
|
|
|
|
permissions_x = text;
|
|
|
|
progress_label = hover;
|
|
|
|
progress_normal = hover;
|
2024-10-11 23:27:07 +03:00
|
|
|
separator_close = "";
|
2024-11-02 06:38:37 +03:00
|
|
|
separator_open = "";
|
2024-10-11 23:27:07 +03:00
|
|
|
# NOTE: Inversed because yazi dev is fckin weird. Also add manpages ffs.
|
|
|
|
separator_style = {
|
|
|
|
bg = "#${config.style.color.fg.light}";
|
|
|
|
fg = "#${config.style.color.bg.regular}";
|
|
|
|
};
|
|
|
|
mode_unset = {
|
|
|
|
fg = "#${config.style.color.fg.light}";
|
|
|
|
bg = "#${config.style.color.neutral}";
|
|
|
|
};
|
|
|
|
progress_error = {
|
|
|
|
fg = "#${config.style.color.fg.light}";
|
|
|
|
bg = "#${config.style.color.negative}";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-06-23 01:23:43 +03:00
|
|
|
}
|