summaryrefslogtreecommitdiff
path: root/bin/wmenu-run.sh
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2023-04-12 15:25:04 -0500
committerSam Nystrom <sam@samnystrom.dev>2023-04-12 15:25:04 -0500
commitb6309f6e21c875278cd39fef04d38e5d802366fa (patch)
tree949cfb00c0e5de99c1cdfdef0cdbad0d89cc6167 /bin/wmenu-run.sh
parentb57135c563247a13d2a8536645cf51b66c419335 (diff)
feat(bin): add wmenu wrapper and runner
Diffstat (limited to 'bin/wmenu-run.sh')
-rwxr-xr-xbin/wmenu-run.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/wmenu-run.sh b/bin/wmenu-run.sh
new file mode 100755
index 0000000..3822325
--- /dev/null
+++ b/bin/wmenu-run.sh
@@ -0,0 +1,7 @@
+exec $(
+ (IFS=:
+ for p in $PATH; do
+ ls 2>/dev/null -1 "$p"
+ done
+ ) | wmenu.sh -p "Run:"
+)