aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-09 20:22:53 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-09 20:25:19 +0200
commit5d8836da9350a89708dc4d8da586d78bf250fa24 (patch)
tree566e2b1d24ec380e323cd75a4100a504eae4a496
parent53846603b682c5a0c7bcd822dbf3e57391ee15b9 (diff)
downloadlbsd-5d8836da9350a89708dc4d8da586d78bf250fa24.tar.gz
ROX: Add file associations
-rwxr-xr-xhome/john/.config/rox.sourceforge.net/MIME-types/application_pdf2
-rwxr-xr-xhome/john/.config/rox.sourceforge.net/MIME-types/application_x-compressed-tar2
l---------home/john/.config/rox.sourceforge.net/MIME-types/application_xml1
-rwxr-xr-xhome/john/.config/rox.sourceforge.net/MIME-types/image2
-rwxr-xr-xhome/john/.config/rox.sourceforge.net/MIME-types/image_x-xwindowdump2
-rwxr-xr-xhome/john/.config/rox.sourceforge.net/MIME-types/text6
-rwxr-xr-xhome/john/.config/rox.sourceforge.net/MIME-types/text_html2
7 files changed, 17 insertions, 0 deletions
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