Remove wmenu_run script - wmenu - 🔧 fork of wmenu
 (HTM) git clone git@git.drkhsh.at/wmenu.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 477c0419b4a06b286bf09405e44c5fdc36e44b2f
 (DIR) parent 41e8599392a543a537f15447e20fd7bc8d8f2297
 (HTM) Author: adnano <me@adnano.co>
       Date:   Thu,  2 May 2024 21:40:46 -0400
       
       Remove wmenu_run script
       
       Diffstat:
         M meson.build                         |       2 --
         D wmenu_run                           |      35 -------------------------------
       
       2 files changed, 0 insertions(+), 37 deletions(-)
       ---
 (DIR) diff --git a/meson.build b/meson.build
       @@ -33,8 +33,6 @@ rt = cc.find_library('rt')
        subdir('protocols')
        subdir('docs')
        
       -install_data('wmenu_run', install_dir: get_option('bindir'))
       -
        executable(
                'wmenu',
                files(
 (DIR) diff --git a/wmenu_run b/wmenu_run
       @@ -1,35 +0,0 @@
       -#!/bin/sh
       -
       -cachedir="${XDG_CACHE_HOME:-"$HOME/.cache"}"
       -cache="$cachedir/wmenu_run"
       -
       -[ -d "$cachedir" ] || mkdir -p "$cachedir"
       -
       -uptodate() {
       -        [ -f "$cache" ] || return 1
       -        IFS=:
       -        for path in $PATH; do
       -                # non-POSIX
       -                test "$path" -nt "$cache" && return 1
       -        done
       -        return 0
       -}
       -
       -bins() {
       -        IFS=:
       -        for path in $PATH; do
       -                for bin in "$path"/*; do
       -                        [ -x "$bin" ] && echo "${bin##*/}"
       -                done
       -        done
       -}
       -
       -path() {
       -        if uptodate; then
       -                cat "$cache"
       -        else
       -                bins | sort -u | tee "$cache"
       -        fi
       -}
       -
       -path | wmenu "$@" | ${SHELL:-"/bin/sh"} &