Stop linkhandeler from notifying

Jonathan Hodgson 4 years ago
parent 3b6130f5e4
commit 1633e431ab
  1. 4
      bin/.bin/linkhandler

@ -5,13 +5,9 @@
# This is necesary becuase environment variables are lost when calling from newsboat for some reason # This is necesary becuase environment variables are lost when calling from newsboat for some reason
notify-send "I get here"
url="$1" url="$1"
browser="${BROWSER:-firefox-developer-edition}" browser="${BROWSER:-firefox-developer-edition}"
notify-send "Opening" "$url"
case "$url" in case "$url" in
*"//invidio.us/"*) open-youtube "$url"; exit 0 ;; *"//invidio.us/"*) open-youtube "$url"; exit 0 ;;
*) $browser "$url"; exit 0 ;; *) $browser "$url"; exit 0 ;;

Loading…
Cancel
Save