summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmisc/mimewiz19
1 files changed, 0 insertions, 19 deletions
diff --git a/misc/mimewiz b/misc/mimewiz
deleted file mode 100755
index 4a0f748..0000000
--- a/misc/mimewiz
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-set -e
-
-config=${XDG_CONFIG_HOME:-~/.config}/mimewiz
-mkdir -p "$config"
-
-install_default_mimetypes() {
- for app in "$config"/*; do
- desktop="$(basename "$app").desktop"
- types="$(tr '\n' ' ' < "$app")"
- echo "Setting $desktop as default application for types listed in $app"
- xdg-mime default $desktop $types
- done
-}
-
-case $1 in
- *) install_default_mimetypes; break ;;
-esac