--- @since 25.5.31 local selected_or_hovered = ya.sync(function() local tab, paths = cx.active, {} for _, u in pairs(tab.selected) do paths[#paths + 1] = tostring(u) end if #paths == 0 and tab.current.hovered then paths[1] = tostring(tab.current.hovered.url) end return paths end) return { entry = function() ya.emit("escape", { visual = true }) return ya.notify { title = "Gpg", content = "No file selected", level = "warn", timeout = 5 } end, }