From 1263b38d6d49944af620523ea3f2e4c8898b6786 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 4 Nov 2023 19:24:23 +0530 Subject: wayland/menu: wmenu -> bemenu --- menu_run | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'menu_run') diff --git a/menu_run b/menu_run index 0d5a0c9..16e4453 100755 --- a/menu_run +++ b/menu_run @@ -1,8 +1,8 @@ #!/bin/sh -menu="wmenu" +menu="bemenu" cache_dir="${XDG_CACHE_HOME:-"$HOME/.cache"}" -cache="$cache_dir/wmenu_run" +cache="$cache_dir/bemenu_run" uptodate() { @@ -38,9 +38,9 @@ main() if [ -f "$cache" ] && uptodate then - "$menu" "$@" < "$cache" | ${SHELL:-"/bin/sh"} & + "$menu" -p ' ' "$@" < "$cache" | ${SHELL:-"/bin/sh"} & else - get_bin | sort -u | tee "$cache" | "$menu" "$@" | ${SHELL:-"/bin/sh"} & + get_bin | sort -u | tee "$cache" | "$menu" -p ' ' "$@" | ${SHELL:-"/bin/sh"} & fi } -- cgit v1.2.3