From 5d8836da9350a89708dc4d8da586d78bf250fa24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 9 Jun 2021 20:22:53 +0200 Subject: ROX: Add file associations --- home/john/.config/rox.sourceforge.net/MIME-types/application_pdf | 2 ++ .../rox.sourceforge.net/MIME-types/application_x-compressed-tar | 2 ++ home/john/.config/rox.sourceforge.net/MIME-types/application_xml | 1 + home/john/.config/rox.sourceforge.net/MIME-types/image | 2 ++ .../john/.config/rox.sourceforge.net/MIME-types/image_x-xwindowdump | 2 ++ home/john/.config/rox.sourceforge.net/MIME-types/text | 6 ++++++ home/john/.config/rox.sourceforge.net/MIME-types/text_html | 2 ++ 7 files changed, 17 insertions(+) create mode 100755 home/john/.config/rox.sourceforge.net/MIME-types/application_pdf create mode 100755 home/john/.config/rox.sourceforge.net/MIME-types/application_x-compressed-tar create mode 120000 home/john/.config/rox.sourceforge.net/MIME-types/application_xml create mode 100755 home/john/.config/rox.sourceforge.net/MIME-types/image create mode 100755 home/john/.config/rox.sourceforge.net/MIME-types/image_x-xwindowdump create mode 100755 home/john/.config/rox.sourceforge.net/MIME-types/text create mode 100755 home/john/.config/rox.sourceforge.net/MIME-types/text_html (limited to 'home') diff --git a/home/john/.config/rox.sourceforge.net/MIME-types/application_pdf b/home/john/.config/rox.sourceforge.net/MIME-types/application_pdf new file mode 100755 index 0000000..6ab1e4a --- /dev/null +++ b/home/john/.config/rox.sourceforge.net/MIME-types/application_pdf @@ -0,0 +1,2 @@ +#! /bin/sh +exec xpdf "$@" diff --git a/home/john/.config/rox.sourceforge.net/MIME-types/application_x-compressed-tar b/home/john/.config/rox.sourceforge.net/MIME-types/application_x-compressed-tar new file mode 100755 index 0000000..b41589a --- /dev/null +++ b/home/john/.config/rox.sourceforge.net/MIME-types/application_x-compressed-tar @@ -0,0 +1,2 @@ +#! /bin/sh +exec xterm -e tar -xf "$@" diff --git a/home/john/.config/rox.sourceforge.net/MIME-types/application_xml b/home/john/.config/rox.sourceforge.net/MIME-types/application_xml new file mode 120000 index 0000000..f3a3485 --- /dev/null +++ b/home/john/.config/rox.sourceforge.net/MIME-types/application_xml @@ -0,0 +1 @@ +text \ No newline at end of file diff --git a/home/john/.config/rox.sourceforge.net/MIME-types/image b/home/john/.config/rox.sourceforge.net/MIME-types/image new file mode 100755 index 0000000..bfd827f --- /dev/null +++ b/home/john/.config/rox.sourceforge.net/MIME-types/image @@ -0,0 +1,2 @@ +#! /bin/sh +exec feh "$@" diff --git a/home/john/.config/rox.sourceforge.net/MIME-types/image_x-xwindowdump b/home/john/.config/rox.sourceforge.net/MIME-types/image_x-xwindowdump new file mode 100755 index 0000000..579afa8 --- /dev/null +++ b/home/john/.config/rox.sourceforge.net/MIME-types/image_x-xwindowdump @@ -0,0 +1,2 @@ +#! /bin/sh +exec display "$@" diff --git a/home/john/.config/rox.sourceforge.net/MIME-types/text b/home/john/.config/rox.sourceforge.net/MIME-types/text new file mode 100755 index 0000000..1e49770 --- /dev/null +++ b/home/john/.config/rox.sourceforge.net/MIME-types/text @@ -0,0 +1,6 @@ +#! /bin/sh +cd "$(dirname "$1")" +case "$1" in +*/Makefile) exec xtopen -K make ;; +*) exec xtopen vi "$1" ;; +esac diff --git a/home/john/.config/rox.sourceforge.net/MIME-types/text_html b/home/john/.config/rox.sourceforge.net/MIME-types/text_html new file mode 100755 index 0000000..6be3fe1 --- /dev/null +++ b/home/john/.config/rox.sourceforge.net/MIME-types/text_html @@ -0,0 +1,2 @@ +#! /bin/sh +LC_ALL=en_US.ISO8859-1 dillo "$@"; /home/john/.dillo/bm -- cgit v1.2.3