|
|
@ -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 ;; |
|
|
|