This commit is contained in:
Alejandro Guerrero 2026-09-25 10:52:05 +02:00
commit 4a4d5f5386
16 changed files with 2010 additions and 0 deletions

13
dmenu/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