aboutsummaryrefslogtreecommitdiff
path: root/open-file
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xopen-file3
1 files changed, 3 insertions, 0 deletions
diff --git a/open-file b/open-file
index 34df2d7..d30f3c0 100755
--- a/open-file
+++ b/open-file
@@ -66,6 +66,9 @@ case "$mimetype" in
66 application/x-lzma | application/x-xz | application/x-gtar) 66 application/x-lzma | application/x-xz | application/x-gtar)
67 tar -tavf "$1" 67 tar -tavf "$1"
68 ;; 68 ;;
69 application/java-archive)
70 java -jar "$1"
71 ;;
69 *) 72 *)
70 prog=$(dmenu_path | $menu -p "How to open $1 ?") 73 prog=$(dmenu_path | $menu -p "How to open $1 ?")
71 if [ -n "$prog" ]; then 74 if [ -n "$prog" ]; then

Generated with cgit - Back to sebastiano.tronto.net