2024-09-15 11:18:36 +02:00
|
|
|
alias enterVR='js "document.querySelector(\"a-scene\").enterVR()"'
|
|
|
|
alias enterAR='js "document.querySelector(\"a-scene\").enterAR()"'
|
|
|
|
alias exitVR='js "document.querySelector(\"a-scene\").enterVR()"'
|
|
|
|
alias exitAR='js "document.querySelector(\"a-scene\").enterAR()"'
|
|
|
|
|
|
|
|
# (new)user friendlyness
|
2024-10-23 18:51:56 +02:00
|
|
|
alias vi='echo -e "HINT: type :q (and press enter) to quit\n[press a key]";read;vi';
|
|
|
|
alias mg='echo -e "HINT: type Ctrl+c Ctrl-x to quit\n[press a key]";read;mg';
|
|
|
|
alias nano='echo -e "HINT: type Ctrl+x to quit\n[press a key]" ;read;nano';
|
2024-09-15 11:18:36 +02:00
|
|
|
|
|
|
|
# start index.js
|
2024-09-16 13:25:26 +02:00
|
|
|
test -f index.js && chmod +x index.js && ./index.js | grep -v undefined
|
2024-09-15 11:18:36 +02:00
|
|
|
|
|
|
|
# start index.html
|
|
|
|
test -f index.html && chmod +x index.html && ./index.html
|
2024-09-24 16:13:37 +02:00
|
|
|
|
|
|
|
# uncomment to set location (3D scene file [with XR Fragments] )
|
|
|
|
#require https://xrfragment.org/index.glb
|
|
|
|
#require https://coderofsalvation.github.io/xrsh-media/assets/background.glb
|