Initial commit

This commit is contained in:
2019-12-01 22:44:09 +01:00
commit 857cce446f
15 changed files with 1627 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
cachedir=${XDG_CACHE_HOME:-"$HOME/.cache"}
if [ -d "$cachedir" ]; then
cache=$cachedir/dmenu_run
else
cache=$HOME/.dmenu_cache # if no xdg dir, fall back to dotfile in ~
fi
IFS=:
if stest -dqr -n "$cache" $PATH; then
stest -flx $PATH | sort -u | tee "$cache"
else
cat "$cache"
fi