From 076f80ceab2dd71fd751a0a82b953c0af1c14d6e Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 8 May 2022 11:30:23 +0800 Subject: Use firefox instead of qutebrowser as default browser --- .env | 1 - scripts/init-mime.sh | 4 ++-- 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 -- cgit v1.2.3