aboutsummaryrefslogtreecommitdiffstats
path: root/share/hackvr/examples/filebrowser/backend-filebrowser.sh
diff options
context:
space:
mode:
Diffstat (limited to 'share/hackvr/examples/filebrowser/backend-filebrowser.sh')
-rwxr-xr-xshare/hackvr/examples/filebrowser/backend-filebrowser.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/share/hackvr/examples/filebrowser/backend-filebrowser.sh b/share/hackvr/examples/filebrowser/backend-filebrowser.sh
deleted file mode 100755
index 7fdfc2e..0000000
--- a/share/hackvr/examples/filebrowser/backend-filebrowser.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env 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