Update 2026-01-27

This commit is contained in:
2026-01-27 20:50:06 +02:00
parent 8c606045e1
commit 2424bd8153
34 changed files with 2632 additions and 5066 deletions

View File

@@ -1,4 +1,4 @@
--- @since 25.2.7
--- @since 26.1.22
local function info(content)
return ya.notify {
@@ -8,20 +8,20 @@ local function info(content)
}
end
local selected_url = ya.sync(function()
local selected_path = ya.sync(function()
for _, u in pairs(cx.active.selected) do
return u
return u.cache or u
end
end)
local hovered_url = ya.sync(function()
local hovered_path = ya.sync(function()
local h = cx.active.current.hovered
return h and h.url
return h and h.path
end)
return {
entry = function()
local a, b = selected_url(), hovered_url()
local a, b = selected_path(), hovered_path()
if not a then
return info("No file selected")
elseif not b then