Add dmenu_path and dmenu_run again (it's required)
This commit is contained in:
parent
103768205c
commit
e29a2c9b93
2
dmenu/.gitignore
vendored
2
dmenu/.gitignore
vendored
|
@ -1,6 +1,4 @@
|
|||
*.o
|
||||
dmenu
|
||||
dmenu_path
|
||||
dmenu_run
|
||||
stest
|
||||
config.h
|
||||
|
|
13
dmenu/dmenu_path
Executable file
13
dmenu/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
|
2
dmenu/dmenu_run
Executable file
2
dmenu/dmenu_run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"} &
|
BIN
dwm/Kaiosrt_ubuntu.tar.bz2
Normal file
BIN
dwm/Kaiosrt_ubuntu.tar.bz2
Normal file
Binary file not shown.
Loading…
Reference in a new issue