summaryrefslogtreecommitdiff
path: root/lcl-find
diff options
context:
space:
mode:
Diffstat (limited to 'lcl-find')
-rwxr-xr-xlcl-find17
1 files changed, 17 insertions, 0 deletions
diff --git a/lcl-find b/lcl-find
new file mode 100755
index 0000000..1a1fd42
--- /dev/null
+++ b/lcl-find
@@ -0,0 +1,17 @@
+#! /bin/bash
+
+source ./util/dpath
+
+cd "$HOME/Desktop"
+file="$(find -L "$DPATH" \
+ . \
+ -type f | dmenu -b \
+ -i \
+ -l 25 \
+ -p 'Search File:' \
+ -nb '#ffffff' \
+ -nf '#000080' \
+ -sb '#000080' \
+ -sf '#ffffff')"
+[ -f "$file" ] && xdg-open "$file" || exit 0
+