summaryrefslogtreecommitdiff
path: root/lcl-find
diff options
context:
space:
mode:
authorLM-LCL <hello@exaltedelite.club>2023-04-19 21:23:42 +0200
committerLM-LCL <hello@exaltedelite.club>2023-04-19 21:23:42 +0200
commitb98f0f496b6739749257804297468fb71845a776 (patch)
tree44096c59211f1d877515914273cde862fbf47c1f /lcl-find
EZown
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
+