Changed dot-config to .config

This commit is contained in:
agryphus 2024-02-27 15:46:37 -05:00
parent 9ea93f8144
commit 0ab0f24015
118 changed files with 29 additions and 980 deletions

View file

@ -0,0 +1,19 @@
---@diagnostic disable: undefined-global
return {
entry = function(self, args)
local h = cx.active.current.hovered
if h and h.cha.is_dir then
ya.manager_emit("enter", {})
return
end
if #args > 0 and args[1] == "detatch" then
os.execute(string.format("opener detatch \"%s\"", h.url))
else
ya.manager_emit("open", {})
-- os.execute(string.format("opener \"%s\"", h.url))
end
end,
}