Stop linkhandeler from notifying

master
Jonathan Hodgson 4 years ago
parent ac9fdea3d5
commit 495b5e3794
  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