Stop open-youtube from notifying

master
Jonathan Hodgson 4 years ago
parent 7f0fc4c46d
commit 4b86f98966
  1. 1
      bin/.bin/dmenu/open-youtube

@ -16,7 +16,6 @@ fi
code=$( ( youtube-dl "$url" -F; echo "bb Best of both") | sed -n '/format code/,$ p' | tail -n +2 | $DMENU "Quality " -m | awk '{print $1}') code=$( ( youtube-dl "$url" -F; echo "bb Best of both") | sed -n '/format code/,$ p' | tail -n +2 | $DMENU "Quality " -m | awk '{print $1}')
code="$(echo "$code" | tr '\n' '+' | sed 's/+$//')" code="$(echo "$code" | tr '\n' '+' | sed 's/+$//')"
notify-send "$code"
case "$code" in case "$code" in
"bb") mpv "$url" --ytdl-format="bestvideo+bestaudio" ;; "bb") mpv "$url" --ytdl-format="bestvideo+bestaudio" ;;

Loading…
Cancel
Save