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