mirror of
https://github.com/deltathetawastaken/dotfiles.git
synced 2025-12-06 07:16:37 +03:00
12 lines
345 B
Lua
12 lines
345 B
Lua
return {
|
|
entry = function()
|
|
local h = cx.active.current.hovered
|
|
if h.cha.is_dir then
|
|
ya.manager_emit("enter" or "open", { hovered = true })
|
|
else
|
|
local hx_command = '\'\\e : o ' .. tostring(h.url) .. ' \\r\''
|
|
local command = 'kitten @ send-text --match neighbor:' .. 'right ' .. hx_command
|
|
os.execute(command)
|
|
end
|
|
end,
|
|
} |