summaryrefslogtreecommitdiff
path: root/filebrowser/backend-filebrowser.sh
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2018-03-29 18:20:49 -0500
committerepoch <epoch@hacking.allowed.org>2018-03-29 18:20:49 -0500
commit52dd0d6fd34e3ad8bef1cd9e613c71f28c48c33a (patch)
treefa58f2fb8bcdf276630146f5ffdb963083201c29 /filebrowser/backend-filebrowser.sh
parent114f10e727bd9fa75d0810cc593ba620d769a03f (diff)
downloadhackvr-52dd0d6fd34e3ad8bef1cd9e613c71f28c48c33a.tar.gz
hackvr-52dd0d6fd34e3ad8bef1cd9e613c71f28c48c33a.zip
moved filebrowser stuff to examples dir
Diffstat (limited to 'filebrowser/backend-filebrowser.sh')
-rwxr-xr-xfilebrowser/backend-filebrowser.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/filebrowser/backend-filebrowser.sh b/filebrowser/backend-filebrowser.sh
deleted file mode 100755
index 789b601..0000000
--- a/filebrowser/backend-filebrowser.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-#give a list of files.
-#wait for a selection on stdin
-#cd or start that file
-#repeat.
-while true;do
-#not sure why this needs to be printed to show up every time.
- echo ..
- find . -maxdepth 1 #| tr ' ' '\n' #wut? no?
- read -r selection
- if [ -f "$selection" ];then
- xdg-open "$selection" #good enough?
- fi
- if [ -d "$selection" ];then
- cd "$selection"
- fi
- echo
-done