Stop open-youtube from notifying
This commit is contained in:
parent
7f0fc4c46d
commit
4b86f98966
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue