chore: bump yazi

This commit is contained in:
agryphus 2026-07-15 13:58:42 -04:00
parent 3a23b4d1d9
commit 62a2a229f1
6 changed files with 23 additions and 17 deletions

View file

@ -10,7 +10,7 @@ Header:children_add(function()
if ya.target_family() ~= "unix" then
return ui.Line {}
end
return ui.Line { ui.Span(ya.user_name() .. "@" .. ya.host_name()):fg("lightgreen"):bold(true), ui.Span(":") }
return ui.Line { ui.Span(ya.user_name() .. "@" .. ya.host_name()):fg("lightgreen"):bold(), ui.Span(":") }
end, 500, Header.LEFT)
-- Show the path of the currently hovered file in the header
@ -26,9 +26,9 @@ function Header:cwd()
hovered = tostring(cx.active.current.hovered.name or "")
end
return ui.Line {
ui.Span(cwd):fg("blue"):bold(true),
ui.Span("/"):fg("blue"):bold(true),
ui.Span(hovered):fg("white"):bold(true),
ui.Span(cwd):fg("blue"):bold(),
ui.Span("/"):fg("blue"):bold(),
ui.Span(hovered):fg("white"):bold(),
}
end
@ -54,3 +54,7 @@ function Status:name()
return ui.Line(" " .. h.name .. linked)
end
-- Remove the indicator padding
function Entity:padding() return " " end
function Linemode:padding() return " " end