From aef9524202e873b9686b592c2412523a0f79d634 Mon Sep 17 00:00:00 2001 From: Coolnsx Date: Sun, 3 Dec 2023 17:57:18 +0530 Subject: [PATCH] IEize --- yt-music | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yt-music b/yt-music index ff05940..a4766d5 100755 --- a/yt-music +++ b/yt-music @@ -260,7 +260,6 @@ search_play() { id=$(printf '%s' "$query" | cut -d':' -f2 | cut -d"=" -f2 | cut -d"/" -f4 | cut -d'&' -f1) title=$(curl -s "https://www.youtube.com/oembed?url=http://www.youtube.com/watch?v=$id&format=xml" | sed -nE 's|.*([^<]*)<.*|\1|p' | sed 's|&|\&|g') res=$(printf '%s\t%s' "$title" "$id") - fi printf '' >"$logdir/next" @@ -292,7 +291,7 @@ play_next() { } menu() { - if command -v bemenu &> /dev/null; then + if command -v bemenu >/dev/null; then bemenu --fn 'IBM Plex Sans 15' -i -c -W 0.5 -B 3 -p "$1" -l 25 -I "${2:-0}" -P ">>" else fzf --prompt="$1" --height=25 --reverse --border=horizontal --header="${2:-0}" --marker=">>"