diff options
author | Guangxiong Lin <[email protected]> | 2022-05-08 11:30:23 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-05-08 11:30:23 +0800 |
commit | 076f80ceab2dd71fd751a0a82b953c0af1c14d6e (patch) | |
tree | 40273374cc61e58bf837480ec3cfd3caeb61927b | |
parent | 0d9c85c5cf9b3b8ffc2351eec38d5b6ba0787000 (diff) | |
download | dotfiles-076f80ceab2dd71fd751a0a82b953c0af1c14d6e.tar.gz dotfiles-076f80ceab2dd71fd751a0a82b953c0af1c14d6e.tar.bz2 dotfiles-076f80ceab2dd71fd751a0a82b953c0af1c14d6e.zip |
Use firefox instead of qutebrowser as default browser
-rw-r--r-- | .env | 1 | ||||
-rwxr-xr-x | scripts/init-mime.sh | 4 |
2 files changed, 2 insertions, 3 deletions
@@ -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 |