2024-06-25 04:04:39 +03:00
|
|
|
{ pkgs, config, ... }: let
|
2024-06-23 01:23:43 +03:00
|
|
|
border = {
|
2024-06-29 18:05:39 +03:00
|
|
|
fg = "#${config.style.color.border}";
|
2024-06-23 01:23:43 +03:00
|
|
|
};
|
2024-06-26 20:50:27 +03:00
|
|
|
borderLight = {
|
2024-06-29 18:05:39 +03:00
|
|
|
fg = "#${config.style.color.accent}";
|
2024-06-26 20:50:27 +03:00
|
|
|
};
|
2024-06-23 01:23:43 +03:00
|
|
|
in {
|
|
|
|
file = (pkgs.formats.toml {}).generate "YaziThemeConfig" {
|
|
|
|
manager = {
|
|
|
|
cwd = {
|
2024-06-29 18:05:39 +03:00
|
|
|
fg = "#${config.style.color.fg.light}";
|
2024-06-23 23:38:56 +03:00
|
|
|
# bg = "#${style.color.bg.regular}";
|
2024-06-23 01:23:43 +03:00
|
|
|
};
|
|
|
|
hovered = {
|
2024-06-29 18:05:39 +03:00
|
|
|
fg = "#${config.style.color.fg.light}";
|
|
|
|
bg = "#${config.style.color.bg.regular}";
|
2024-06-23 01:23:43 +03:00
|
|
|
};
|
|
|
|
preview_hovered = {
|
2024-06-29 18:05:39 +03:00
|
|
|
fg = "#${config.style.color.fg.light}";
|
|
|
|
bg = "#${config.style.color.bg.regular}";
|
2024-06-23 01:23:43 +03:00
|
|
|
};
|
|
|
|
border_style = border;
|
|
|
|
tab_active = {
|
2024-06-29 18:05:39 +03:00
|
|
|
bg = "#${config.style.color.accent}";
|
2024-06-23 01:23:43 +03:00
|
|
|
};
|
|
|
|
};
|
2024-06-30 00:31:43 +03:00
|
|
|
select = { border = borderLight; };
|
|
|
|
input = { border = borderLight; };
|
|
|
|
completion = { border = borderLight; };
|
|
|
|
tasks = { border = borderLight; };
|
2024-08-10 01:23:09 +03:00
|
|
|
|
|
|
|
status = {
|
|
|
|
separator_open = "";
|
|
|
|
separator_close = "";
|
|
|
|
# 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_normal = {
|
|
|
|
fg = "#${config.style.color.fg.light}";
|
|
|
|
bg = "#${config.style.color.bg.regular}";
|
|
|
|
};
|
|
|
|
mode_select = {
|
|
|
|
fg = "#${config.style.color.fg.light}";
|
|
|
|
bg = "#${config.style.color.selection}";
|
|
|
|
};
|
|
|
|
mode_unset = {
|
|
|
|
fg = "#${config.style.color.fg.light}";
|
|
|
|
bg = "#${config.style.color.neutral}";
|
|
|
|
};
|
|
|
|
progress_label = {
|
|
|
|
fg = "#${config.style.color.fg.light}";
|
|
|
|
bg = "#${config.style.color.bg.regular}";
|
|
|
|
};
|
|
|
|
progress_normal = {
|
|
|
|
fg = "#${config.style.color.fg.light}";
|
|
|
|
bg = "#${config.style.color.bg.regular}";
|
|
|
|
};
|
|
|
|
progress_error = {
|
|
|
|
fg = "#${config.style.color.fg.light}";
|
|
|
|
bg = "#${config.style.color.negative}";
|
|
|
|
};
|
|
|
|
permissions_t = {
|
|
|
|
fg = "#${config.style.color.fg.light}";
|
|
|
|
};
|
|
|
|
permissions_r = {
|
|
|
|
fg = "#${config.style.color.fg.light}";
|
|
|
|
};
|
|
|
|
permissions_w = {
|
|
|
|
fg = "#${config.style.color.fg.light}";
|
|
|
|
};
|
|
|
|
permissions_x = {
|
|
|
|
fg = "#${config.style.color.fg.light}";
|
|
|
|
};
|
|
|
|
permissions_s = {
|
|
|
|
fg = "#${config.style.color.fg.light}";
|
|
|
|
};
|
|
|
|
};
|
2024-06-23 01:23:43 +03:00
|
|
|
};
|
|
|
|
}
|