[bin] Open unknown file types with a ranger terminal

This commit is contained in:
Sebastian Schulze 2021-07-20 08:32:44 +02:00
parent 4b41e78643
commit c9e1d5139f
Signed by: bascht
GPG key ID: 5BCB1D3B4D38A35A

View file

@ -35,7 +35,8 @@ case "${lower%%:*}" in
exec emacs -nw "$1"
;;
*)
zenity --warning --text "Don't know how to open $@" >&2
notify-send "${0}" "Don't know how to open ${@}" -t 500 >&2
exec foot --app-id 'files' ranger $@
;;
esac