diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2025-09-12 22:38:19 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2025-09-12 22:38:19 -0500 |
| commit | 6029e36f2fc649ef4591701cb9e29efede36e94f (patch) | |
| tree | ba0ec1430673d2d1a8b1504a4c780bcce31be596 /misc | |
| parent | 6f64fa699ecf889d72630403aa94a73845cb947f (diff) | |
| download | scripts-6029e36f2fc649ef4591701cb9e29efede36e94f.tar.xz scripts-6029e36f2fc649ef4591701cb9e29efede36e94f.zip | |
remove mimewiz script
Diffstat (limited to 'misc')
| -rwxr-xr-x | misc/mimewiz | 19 |
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 |
