added st
This commit is contained in:
parent
10c6f75689
commit
59a7c48325
41 changed files with 8815 additions and 4 deletions
13
hosts/vali/mars/dwm/dmenu-5.3/dmenu_path
Executable file
13
hosts/vali/mars/dwm/dmenu-5.3/dmenu_path
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue