Fix Close Menu entry for youtube script
This commit is contained in:
parent
c119ab0145
commit
67e9320242
1 changed files with 2 additions and 2 deletions
|
@ -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}')"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue