diff options
| author | Connor Lane Smith <[email protected]> | 2011-12-19 16:52:48 +0100 |
|---|---|---|
| committer | Connor Lane Smith <[email protected]> | 2011-12-19 16:52:48 +0100 |
| commit | 6664e4233faa3d6b677a24196e9af4ac5b1920fd (patch) | |
| tree | a81d46c660dfe173c54ae802a9f3c9cacd6399b2 /dmenu_run | |
| parent | comment xdg fallback behaviour (diff) | |
| parent | stest: restore stream testing (diff) | |
| download | dmenu-6664e4233faa3d6b677a24196e9af4ac5b1920fd.tar.gz dmenu-6664e4233faa3d6b677a24196e9af4ac5b1920fd.tar.bz2 dmenu-6664e4233faa3d6b677a24196e9af4ac5b1920fd.zip | |
merge stest -> default
Diffstat (limited to 'dmenu_run')
| -rwxr-xr-x | dmenu_run | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dmenu_run b/dmenu_run index 976da46..052e51b 100755 --- a/dmenu_run +++ b/dmenu_run @@ -7,8 +7,8 @@ else fi ( IFS=: - if [ "`ls -dt $PATH "$cache" | head -n 1`" != "$cache" ]; then - lsx $PATH | sort -u | tee "$cache" | dmenu "$@" + if stest -dqr -n "$cache" $PATH; then + stest -flx $PATH | sort -u | tee "$cache" | dmenu "$@" else dmenu "$@" < "$cache" fi |