aboutsummaryrefslogtreecommitdiff
path: root/xdg-add
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-20 20:07:40 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-20 20:07:40 -0300
commitd6a4d78d31ffa57e00a7d5b0a87baa38156cee06 (patch)
tree7f82a426473bf31dab71ad1bade96beb00a55ab6 /xdg-add
parent5e291961ed26165167165c4966f805bbf01de2b4 (diff)
downloadscripts-d6a4d78d31ffa57e00a7d5b0a87baa38156cee06.tar.gz
scripts-d6a4d78d31ffa57e00a7d5b0a87baa38156cee06.tar.bz2
Move some scripts to the utils-x11 repository
Diffstat (limited to 'xdg-add')
-rwxr-xr-xxdg-add16
1 files changed, 0 insertions, 16 deletions
diff --git a/xdg-add b/xdg-add
deleted file mode 100755
index d572ba9..0000000
--- a/xdg-add
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-#
-# A xdg-mime shortcut.
-#
-
-# Parameters
-APP="$1"
-FILETYPE="$2"
-
-# Check if second param is a file
-if [ -e "$FILETYPE" ]; then
- FILETYPE="`xdg-mime query filetype $FILETYPE`"
-fi
-
-# Make association
-xdg-mime default ${APP}.desktop $FILETYPE