From 67e932024280721a308b4cd85d8a888aeb5e5498 Mon Sep 17 00:00:00 2001 From: Miles Alan Date: Sat, 27 Jun 2020 21:26:29 -0500 Subject: [PATCH] Fix Close Menu entry for youtube script --- scripts/appscripts/sxmo_youtube.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/appscripts/sxmo_youtube.sh b/scripts/appscripts/sxmo_youtube.sh index 870d232..b1eb780 100755 --- a/scripts/appscripts/sxmo_youtube.sh +++ b/scripts/appscripts/sxmo_youtube.sh @@ -6,7 +6,7 @@ menu() { dmenu -p "Yt Search" -c -l 10 -fn Terminus-20 )" pkill svkbd-sxmo - [ "CLOSE_MENU" = "$SEARCHTERMS" ] && exit 0 + [ "Close Menu" = "$SEARCHTERMS" ] && exit 0 IDIOTRESULTS="$(youtube-cli "$SEARCHTERMS")" FMTRESULTS="$( @@ -22,7 +22,7 @@ menu() { printf %b "Close Menu\n$FMTRESULTS" | dmenu -c -l 10 -fn Terminus-20 )" - [ "CLOSE_MENU" = "$PICKED" ] && exit 0 + [ "Close Menu" = "$PICKED" ] && exit 0 URL="$(echo "$PICKED" | awk -F " " '{print $NF}')" }