WIP nope
This commit is contained in:
parent
1f8acca322
commit
d95fa53dd7
1 changed files with 8 additions and 1 deletions
9
nope
9
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue