From c4b58d040fb0ceb9e4cbcaa42dfd1fe44de2179a Mon Sep 17 00:00:00 2001 From: _N0x Date: Mon, 6 Sep 2021 14:15:03 +0200 Subject: [PATCH] Added missing binaries --- dmenu-5.0/dmenu_path | 13 +++++++++++++ dmenu-5.0/dmenu_run | 2 ++ 2 files changed, 15 insertions(+) create mode 100755 dmenu-5.0/dmenu_path create mode 100755 dmenu-5.0/dmenu_run diff --git a/dmenu-5.0/dmenu_path b/dmenu-5.0/dmenu_path new file mode 100755 index 0000000..3a7cda7 --- /dev/null +++ b/dmenu-5.0/dmenu_path @@ -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 diff --git a/dmenu-5.0/dmenu_run b/dmenu-5.0/dmenu_run new file mode 100755 index 0000000..834ede5 --- /dev/null +++ b/dmenu-5.0/dmenu_run @@ -0,0 +1,2 @@ +#!/bin/sh +dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"} &