Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
2020-09-14 10:24:23 +02:00
commit 8178e5884f
23 changed files with 1960 additions and 0 deletions

13
dmenu_path Normal file
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