From 2dd89ba1db0d080a0874511fe15e6a89cf9ad460 Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Thu, 20 Feb 2020 02:36:51 +0100 Subject: [PATCH] hard coded browser & terminal --- urlscan/.local/bin/linkhandler | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/urlscan/.local/bin/linkhandler b/urlscan/.local/bin/linkhandler index 4298819..9ac68cb 100755 --- a/urlscan/.local/bin/linkhandler +++ b/urlscan/.local/bin/linkhandler @@ -6,17 +6,10 @@ # if a music file or pdf, it will download, # otherwise it opens link in browser. -# Set default browser - if [ -e "/usr/bin/firefox" ] -then - export BROWSER="firefox" -elif [ -e "/usr/bin/iceweasel" ] -then - export BROWSER="iceweasel" -fi +export BROWSER="brave" # Set default terminal -export TERMINAL="st" +export TERMINAL="alacritty" case "$1" in *mkv|*webm|*mp4|*youtube.com*|*youtu.be*|*hooktube.com*|*bitchute.com*)