chezmoi: awesome, fish, screen, wezterm, yazi

This commit is contained in:
js0ny 2025-09-27 12:22:41 +01:00
parent 2cbf244d7b
commit 295f94ddb9
27 changed files with 613 additions and 5 deletions

18
dot_config/yazi/init.lua Normal file
View file

@ -0,0 +1,18 @@
-- ~/.config/yazi/init.lua
function Linemode:size_and_mtime()
local time = math.floor(self._file.cha.mtime or 0)
if time == 0 then
time = ""
elseif os.date("%Y", time) == os.date("%Y") then
time = os.date("%b %d %H:%M", time)
else
time = os.date("%b %d %Y", time)
end
local size = self._file:size()
return string.format("%s %s", size and ya.readable_size(size) or "-", time)
end
-- require("dual-pane"):setup({ enabled = true })
require("starship"):setup()
require("yaziline"):setup()