default dmenu

This commit is contained in:
2024-12-01 19:40:53 +01:00
commit a271d017bb
17 changed files with 1994 additions and 0 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