Skip to content

Commit

Permalink
yazi: replace mode_* with mode.*_{main,alt} settings
Browse files Browse the repository at this point in the history
Yet another breakage from [1] for 0.4.0 changes. This fixes the unreadable
status bar issue.

[1] https://www.github.com/sxyazi/yazi/pull/1953
  • Loading branch information
xokdvium committed Jan 2, 2025
1 parent 85af3dd commit d27a2b1
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions modules/yazi/hm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,16 @@
border_style = mkFg base04;
};

mode = {
normal_main = (mkBoth base00 blue) // {bold = true;};
normal_alt = mkBoth blue base00;
select_main = (mkBoth base00 green) // {bold = true;};
select_alt = mkBoth green base00;
unset_main = (mkBoth base00 brown) // {bold = true;};
unset_alt = mkBoth brown base00;
};

status = {
separator_style = mkSame base01;
mode_normal = (mkBoth base00 blue) // {bold = true;};
mode_select = (mkBoth base00 green) // {bold = true;};
mode_unset = (mkBoth base00 brown) // {bold = true;};
progress_label = mkBoth base05 base00;
progress_normal = mkBoth base05 base00;
progress_error = mkBoth red base00;
Expand Down

0 comments on commit d27a2b1

Please sign in to comment.