aboutsummaryrefslogtreecommitdiff
path: root/JsonMenu_Scripts/ls.json.sh
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-06-30 09:39:01 -0400
committerKen Moore <moorekou@gmail.com>2016-06-30 09:39:01 -0400
commit702d651bad7892126fdf82499f25e6e418499366 (patch)
tree43667c0bf9ea726795e6db07dfd051b130f4559c /JsonMenu_Scripts/ls.json.sh
parentFix the symlink creation routine so it works properly if INSTALL_ROOT is setup. (diff)
downloadlumina-702d651bad7892126fdf82499f25e6e418499366.tar.gz
lumina-702d651bad7892126fdf82499f25e6e418499366.tar.bz2
lumina-702d651bad7892126fdf82499f25e6e418499366.zip
Finish up the new JSON recursive menu system as well as the test script for listing the contents of a directory recursively.
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