summaryrefslogtreecommitdiff
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
parentb57135c563247a13d2a8536645cf51b66c419335 (diff)
feat(bin): add wmenu wrapper and runner
-rwxr-xr-xbin/wmenu-run.sh7
-rwxr-xr-xbin/wmenu.sh6
2 files changed, 13 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:"
+)
diff --git a/bin/wmenu.sh b/bin/wmenu.sh
new file mode 100755
index 0000000..20b2e79
--- /dev/null
+++ b/bin/wmenu.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+wmenu \
+ -N 1e2030 -n cad3f5 -M c6a0f6 -m 1e2030 -S 181926 -s c6a0f6 \
+ -f 'FiraCode Nerd Font 12' \
+ -l 20 \
+ $@