aboutsummaryrefslogtreecommitdiff
path: root/JsonMenu_Scripts/ls.json.sh
diff options
context:
space:
mode:
Diffstat (limited to 'JsonMenu_Scripts/ls.json.sh')
-rwxr-xr-xJsonMenu_Scripts/ls.json.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/JsonMenu_Scripts/ls.json.sh b/JsonMenu_Scripts/ls.json.sh
index 7bd09e2d..5b4680ed 100755
--- a/JsonMenu_Scripts/ls.json.sh
+++ b/JsonMenu_Scripts/ls.json.sh
@@ -13,7 +13,7 @@ do
if [ -d "${DIR}/${name}" ] ; then
OUT="${OUT} \"${name}\" : { \"type\" : \"jsonmenu\", \"exec\" : \"${0} ${DIR}/${name}\", \"icon\":\"folder\"}"
else
- OUT="${OUT} \"${name}\" : { \"type\" : \"item\", \"icon\":\"unknown\", \"action\" : \"${name}\"}"
+ OUT="${OUT} \"${name}\" : { \"type\" : \"item\", \"icon\":\"unknown\", \"action\" : \"xdg-open ${DIR}/${name}\"}"
fi
done < /tmp/.tmp.lines.$$
rm /tmp/.tmp.lines.$$
bgstack15