commit 60cbc4a9a45286834d81d7da6c62806ca644546d
parent 74f76553962286b38e2ec66a4603fac769a61bb5
Author: Sebastiano Tronto <sebastiano.tronto@gmail.com>
Date: Mon, 28 Jun 2021 13:54:44 +0200
added jar
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/open-file b/open-file
@@ -66,6 +66,9 @@ case "$mimetype" in
application/x-lzma | application/x-xz | application/x-gtar)
tar -tavf "$1"
;;
+ application/java-archive)
+ java -jar "$1"
+ ;;
*)
prog=$(dmenu_path | $menu -p "How to open $1 ?")
if [ -n "$prog" ]; then