Skip to content

Commit

Permalink
Use linopen as a fallback, just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
BachoSeven committed Jun 22, 2020
1 parent 191f0e2 commit 4b1d379
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xdg-open
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ for search in $mime $general_mime; do
fi
done

# use linopen as a fallback just in case
if exist linopen; then
fork_run "linopen" "$arg"
fi

# ask
if exist dmenu; then
app=($(IFS=: stest -flx $PATH | sort -u | dmenu -p "how to open $arg"))
Expand Down

0 comments on commit 4b1d379

Please sign in to comment.