1
0
mirror of https://github.com/tiyn/dmenu.git synced 2025-10-09 17:38:11 +02:00

adding base

This commit is contained in:
TiynGER
2020-03-28 22:06:09 +01:00
commit fb9249904c
16 changed files with 1935 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