neue Dateien

This commit is contained in:
2025-12-25 12:51:46 +01:00
parent 4223d65b15
commit c109428829
10 changed files with 1401 additions and 0 deletions

53
.config/yazi/init.lua Normal file
View File

@@ -0,0 +1,53 @@
-- Zeitstempel in Statusbar anzeigen
Status:children_add(function()
local h = cx.active.current.hovered
return ui.Line({
ui.Span(os.date("%d.%m.%Y %H:%M", tostring(h.cha.mtime):sub(1, 10))):fg("green"),
ui.Span(" "),
})
end, 500, Status.RIGHT)
-- Benutzer und Gruppe in Statusbar anzeigen
-- Status:children_add(function()
-- local h = cx.active.current.hovered
-- if h == nil or ya.target_family() ~= "unix" then
-- return ""
-- end
-- return ui.Line {
-- ui.Span(ya.user_name(h.cha.uid) or tostring(h.cha.uid)):fg("magenta"),
-- ":",
-- ui.Span(ya.group_name(h.cha.gid) or tostring(h.cha.gid)):fg("magenta"),
-- " ",
-- }
-- end, 500, Status.RIGHT)
-- kompletten Rahmen anzeigen
require("full-border"):setup {
-- Available values: ui.Border.PLAIN, ui.Border.ROUNDED
type = ui.Border.PLAIN,
}
-- Einstellungn für Plugin Project
require("projects"):setup({
save = {
method = "lua", -- yazi | lua
--lua_save_path = "~/.config/yazi/projects.json", -- comment out to get the default value
-- windows: "%APPDATA%/yazi/state/projects.json"
-- unix: "~/.local/state/yazi/projects.json"
},
last = {
update_after_save = true,
update_after_load = true,
load_after_start = true,
},
merge = {
quit_after_merge = false,
},
notify = {
enable = true,
title = "Projects",
timeout = 3,
level = "info",
},
})