Skip to content

Commit

Permalink
fix mplayer and ouch execution
Browse files Browse the repository at this point in the history
  • Loading branch information
Junker committed Jul 8, 2022
1 parent 0e497f2 commit 72f4513
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ local function handle_audio(node)
if program_exists("mpv") then
return exec("mpv", node)
elseif program_exists("mplayer") then
return exec("mplayer", node)
return exec("mplayer", node, "-vo null")
end
end

Expand All @@ -130,7 +130,7 @@ local function handle_archive(node)
return exec_paging("dtrx", node, "-l")
end
if program_exists("ouch") then
return exec_paging("dtrx", node, "list")
return exec_paging("ouch", node, "list")
end
end

Expand Down

0 comments on commit 72f4513

Please sign in to comment.