diff options
author | sinanmohd <sinan@firemail.cc> | 2023-11-04 19:24:23 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-11-04 19:24:23 +0530 |
commit | 1263b38d6d49944af620523ea3f2e4c8898b6786 (patch) | |
tree | 9fe643abf53425b8ce44d1923bda001005fbff5d /menu_run | |
parent | 7ea21826565b907457749a9db8cb4de34b89306a (diff) |
wayland/menu: wmenu -> bemenu
Diffstat (limited to 'menu_run')
-rwxr-xr-x | menu_run | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 } |