Yazi: Style fixes.

This commit is contained in:
Dmitry Voronin 2024-11-21 23:58:07 +03:00
parent a2ca53a4fc
commit 1da52e218e
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 18 additions and 3 deletions

View file

@ -8,6 +8,7 @@
prepend_keymap = [
{ on = "<Enter>"; desc = "Spawn shell here"; run = ''shell "SHELL_NAME=yazi $SHELL" --block --confirm''; }
{ on = "<Tab>"; desc = "New tab"; run = "tab_create --current"; }
{ on = "?"; desc = "Show help"; run = "help"; }
{ on = "D"; desc = "Force delete"; run = "remove --permanently --force"; }
{ on = "E"; desc = "Move to next tab"; run = "tab_swap 1 --relative"; }
{ on = "O"; desc = "Open default"; run = "open"; }

View file

@ -50,10 +50,15 @@ in {
tab_active = mkCounter color.selection;
};
select = {
active = select;
border = borderLight;
inactive = text;
};
input = {
border = borderLight;
border = borderLight; # ISSUE: Currently broken, stays blue.
selected = select;
title = text;
value = text;
};
completion = {
active = hover;
@ -62,6 +67,8 @@ in {
};
tasks = {
border = borderLight;
hovered = hover;
title = text;
};
which = {
cand = text;
@ -72,6 +79,13 @@ in {
separator = " - ";
separator_style = text;
};
help = {
desc = text;
footer = text;
hovered = hover;
on = text;
run = text;
};
confirm = {
border = borderLight;
title = borderLight;