summaryrefslogtreecommitdiffstats
path: root/local/bin/myfile-handler.sh
diff options
context:
space:
mode:
Diffstat (limited to 'local/bin/myfile-handler.sh')
-rwxr-xr-xlocal/bin/myfile-handler.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/local/bin/myfile-handler.sh b/local/bin/myfile-handler.sh
deleted file mode 100755
index 40360b8..0000000
--- a/local/bin/myfile-handler.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-# A script to handle custom protocol
-url="$1"
-
-file_path="${url#myfile://}"
-file_path="${file_path/\~/$HOME}"
-xdg-open "$file_path"