upgraded to dmenu 5.0

This commit is contained in:
2020-11-28 13:36:19 +01:00
parent c21df3f2de
commit 0f56f839b2
9 changed files with 48 additions and 37 deletions

13
dmenu_path Executable 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