yazi: update configuration format to support v25.12.29 (#2130)
Closes: https://github.com/nix-community/stylix/issues/2121 Link: https://github.com/nix-community/stylix/pull/2130 Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Reviewed-by: 0xda157 <da157@voidq.com>
This commit is contained in:
parent
5287bc719d
commit
908d40690f
1 changed files with 14 additions and 6 deletions
|
|
@ -19,7 +19,7 @@ mkTarget {
|
|||
mkSame = c: (mkBoth c c);
|
||||
in
|
||||
{
|
||||
mgr = rec {
|
||||
mgr = {
|
||||
# Reusing bat themes, since it's suggested in the styling guide
|
||||
# https://yazi-rs.github.io/docs/configuration/theme#mgr
|
||||
syntect_theme = colors {
|
||||
|
|
@ -28,10 +28,6 @@ mkTarget {
|
|||
};
|
||||
|
||||
cwd = mkFg cyan;
|
||||
hovered = (mkBg base02) // {
|
||||
bold = true;
|
||||
};
|
||||
preview_hovered = hovered;
|
||||
find_keyword = (mkFg green) // {
|
||||
bold = true;
|
||||
};
|
||||
|
|
@ -46,6 +42,13 @@ mkTarget {
|
|||
count_selected = mkBoth base00 yellow;
|
||||
};
|
||||
|
||||
indicator = rec {
|
||||
current = (mkBg base02) // {
|
||||
bold = true;
|
||||
};
|
||||
preview = current;
|
||||
};
|
||||
|
||||
tabs = {
|
||||
active = (mkBoth base00 blue) // {
|
||||
bold = true;
|
||||
|
|
@ -144,7 +147,12 @@ mkTarget {
|
|||
(mkRule "application/rtf" green)
|
||||
(mkRule "application/vnd.*" green)
|
||||
|
||||
((mkRule "inode/directory" blue) // { bold = cfg.boldDirectory; })
|
||||
# Use url rule for folders as folder mime types do not get checked until they are hovered
|
||||
{
|
||||
url = "*/";
|
||||
fg = blue;
|
||||
bold = cfg.boldDirectory;
|
||||
}
|
||||
(mkRule "*" base05)
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue