aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-05-08 11:30:23 +0800
committerGuangxiong Lin <[email protected]>2022-05-08 11:30:23 +0800
commit076f80ceab2dd71fd751a0a82b953c0af1c14d6e (patch)
tree40273374cc61e58bf837480ec3cfd3caeb61927b
parent0d9c85c5cf9b3b8ffc2351eec38d5b6ba0787000 (diff)
downloaddotfiles-076f80ceab2dd71fd751a0a82b953c0af1c14d6e.tar.gz
dotfiles-076f80ceab2dd71fd751a0a82b953c0af1c14d6e.tar.bz2
dotfiles-076f80ceab2dd71fd751a0a82b953c0af1c14d6e.zip
Use firefox instead of qutebrowser as default browser
-rw-r--r--.env1
-rwxr-xr-xscripts/init-mime.sh4
2 files changed, 2 insertions, 3 deletions
diff --git a/.env b/.env
index ee9b730..c484d8e 100644
--- a/.env
+++ b/.env
@@ -3,7 +3,6 @@ TERMINAL=xterm
export TERMINAL=$TERMINAL
BROWSER='firefox --new-tab'
-[ -e '/usr/bin/qutebrowser' ] && BROWSER='/usr/bin/qutebrowser'
export BROWSER=$BROWSER
if type fcitx5 > /dev/null; then
diff --git a/scripts/init-mime.sh b/scripts/init-mime.sh
index 9f6f570..7ad100a 100755
--- a/scripts/init-mime.sh
+++ b/scripts/init-mime.sh
@@ -14,8 +14,8 @@ set_xdg_mime thunar.desktop inode/directory
set_xdg_mime org.pwmt.zathura.desktop application/pdf
-set_xdg_mime org.qutebrowser.qutebrowser.desktop x-scheme-handler/http
-set_xdg_mime org.qutebrowser.qutebrowser.desktop x-scheme-handler/https
+set_xdg_mime firefox.desktop x-scheme-handler/http
+set_xdg_mime firefox.desktop x-scheme-handler/https
set_xdg_mime sxiv.desktop image/png
set_xdg_mime sxiv.desktop image/jpeg