aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-03-29 04:30:43 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2014-03-29 04:30:43 +0100
commita0666eba1d4b8bbc592a72829a43c48e05554e88 (patch)
treefddf2e7dee5c71530288b4df48a8f598f691d727
parent3f1339387e2e631035680750653c1de5e2bf9834 (diff)
downloadbin-a0666eba1d4b8bbc592a72829a43c48e05554e88.tar.xz
Add dmenru
dmenru is a replacement of dmenu_run using zsh builtins instead of checking the path manually, and thus uses zsh's own caching instead of having to do its own. Stolen from Earnestly
-rwxr-xr-xdmenru3
1 files changed, 3 insertions, 0 deletions
diff --git a/dmenru b/dmenru
new file mode 100755
index 0000000..eade306
--- /dev/null
+++ b/dmenru
@@ -0,0 +1,3 @@
+#!/bin/zsh
+
+print -lo ${(k)commands} | dmenu -i -fn 'DejaVu Sans Mono 9' "$@" | /bin/zsh &