diff --git a/nope b/nope index c4c6604..fa79926 100755 --- a/nope +++ b/nope @@ -20,6 +20,7 @@ case "$@" in ;; --version) echo "nope version 0.1.0" + exit 1 ;; *.pdf) okular "$@" > /dev/null 2>&1 & @@ -27,9 +28,15 @@ case "$@" in *.html) firefox "$@" > /dev/null 2>&1 & ;; - *.mp4|*.mp3) + *.mp4|*.mp3|*.wav|*.mkv) vlc "$@" > /dev/null 2>&1 & ;; + *.ods) + libreoffice "$@" > /dev/null 2>&1 & + ;; + *.jpg|*.png) + feh "$@" > /dev/null 2>&1 & + ;; *) echo "No rule for opening this file has been specified" exit 1