Changed gitignore to include missing dmenu files

This commit is contained in:
_N0x 2021-01-22 16:10:47 +01:00
parent ab224d5f46
commit a14216cbc8
3 changed files with 15 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,8 +1,6 @@
*.tar.gz *.tar.gz
*.o *.o
dmenu dmenu
dmenu_path
dmenu_run
stest stest
st st
dwm dwm

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

2
dmenu-5.0/dmenu_run Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"} &