mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
hard coded browser & terminal
This commit is contained in:
parent
f91f400ff2
commit
2dd89ba1db
@ -6,17 +6,10 @@
|
|||||||
# if a music file or pdf, it will download,
|
# if a music file or pdf, it will download,
|
||||||
# otherwise it opens link in browser.
|
# otherwise it opens link in browser.
|
||||||
|
|
||||||
# Set default browser
|
export BROWSER="brave"
|
||||||
if [ -e "/usr/bin/firefox" ]
|
|
||||||
then
|
|
||||||
export BROWSER="firefox"
|
|
||||||
elif [ -e "/usr/bin/iceweasel" ]
|
|
||||||
then
|
|
||||||
export BROWSER="iceweasel"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Set default terminal
|
# Set default terminal
|
||||||
export TERMINAL="st"
|
export TERMINAL="alacritty"
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
*mkv|*webm|*mp4|*youtube.com*|*youtu.be*|*hooktube.com*|*bitchute.com*)
|
*mkv|*webm|*mp4|*youtube.com*|*youtu.be*|*hooktube.com*|*bitchute.com*)
|
||||||
|
Loading…
Reference in New Issue
Block a user