Pushing dmenu and related scripts.

This commit is contained in:
Derek Taylor
2019-01-29 18:23:21 -06:00
parent 386a83e584
commit 515cc3a442
23 changed files with 1939 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
cachedir="${XDG_CACHE_HOME:-"$HOME/.cache"}"
cache="$cachedir/dmenu_run"
[ ! -e "$cachedir" ] && mkdir -p "$cachedir"
IFS=:
if stest -dqr -n "$cache" $PATH; then
stest -flx $PATH | sort -u | tee "$cache"
else
cat "$cache"
fi