Set qutebrowser -> firefox as default browser

This commit is contained in:
Hoang Nguyen 2021-06-13 14:30:19 +03:00
parent 5ca2f568df
commit 16c7177046
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
13 changed files with 25 additions and 25 deletions

View File

@ -118,7 +118,7 @@ cp -rfv ./home/.config/nnn/ ~/.config/nnn/
cp -rfv ./home/.config/npm/ ~/.config/npm/
cp -rfv ./home/.config/nvim/ ~/.config/nvim/
cp -rfv ./home/.config/pipe-viewer/ ~/.config/pipe-viewer/
cp -rfv ./home/.config/qutebrowser/ ~/.config/qutebrowser/
# cp -rfv ./home/.config/qutebrowser/ ~/.config/qutebrowser/
cp -rfv ./home/.config/ranger/ ~/.config/ranger/
# cp -rfv ./home/.config/tg/ ~/.config/tg/
cp -rfv ./home/.config/tmux/ ~/.config/tmux/

View File

@ -90,7 +90,7 @@ URxvt.preeditType: OverTheSpot
URxvt.perl-ext-common:default,matcher,tabbed,clipboard,resize-font
! urls
URxvt.url-launcher: /usr/bin/qutebrowser
URxvt.url-launcher: /usr/bin/firefox
URxvt.matcher.button: 1
URxvt.matcher.rend.0: Uline Bold fg3
URxvt.underlineURLs: true

View File

@ -32,7 +32,7 @@ auto_redirect = false
# Note the use of single quotes, so that backslashes will not be escaped.
# Using just a string will also work, but it is deprecated, and will degrade if
# you use paths with spaces.
http = 'qutebrowser'
http = 'firefox'
# Any URL that will accept a query string can be put here
# search = "gemini://gus.guru/search"

View File

@ -4,9 +4,9 @@
(setq user-full-name "FollieHiyuki"
user-mail-address "folliekazetani@protonmail.com")
;; Set qutebrowser as the default browser
;; Set firefox as the default browser
(setq browse-url-browser-function 'browse-url-generic
browse-url-generic-program "qutebrowser")
browse-url-generic-program "firefox")
;; Secrets
(setq auth-sources '("~/.config/doom/.authinfo.gpg"))

View File

@ -214,7 +214,7 @@
#dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
browser = /usr/bin/qutebrowser
browser = /usr/bin/firefox
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true

View File

@ -21,7 +21,7 @@ initial-window-size-pixels=800x600 # Or,
# resize-delay-ms=100
# notify=notify-send -a foot -i foot ${title} ${body}
url-launch=qutebrowser ${url}
url-launch=firefox ${url}
# bold-text-in-bright=no
# bell=none
@ -120,9 +120,9 @@ bright7=eceff4 # bright white
# minimize=none
# maximize=none
fullscreen=F11
pipe-visible=[sh -c "xurls | wofi -d -i | xargs -r qutebrowser"] none
pipe-scrollback=[sh -c "xurls | wofi -d -i | xargs -r qutebrowser"] none
pipe-selected=[xargs -r qutebrowser] none
pipe-visible=[sh -c "xurls | wofi -d -i | xargs -r firefox"] none
pipe-scrollback=[sh -c "xurls | wofi -d -i | xargs -r firefox"] none
pipe-selected=[xargs -r firefox] none
# show-urls-launch=Control+Shift+u
# show-urls-copy=none

View File

@ -1,12 +1,12 @@
[Default Applications]
text/html=org.qutebrowser.qutebrowser.desktop
x-scheme-handler/http=org.qutebrowser.qutebrowser.desktop
x-scheme-handler/https=org.qutebrowser.qutebrowser.desktop
x-scheme-handler/about=org.qutebrowser.qutebrowser.desktop
x-scheme-handler/unknown=org.qutebrowser.qutebrowser.desktop
text/html=firefox.desktop
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/about=firefox.desktop
x-scheme-handler/unknown=firefox.desktop
video/*=mpv.desktop
application/pdf=org.pwmt.zathura-pdf-mupdf.desktop
application/pdf=org.pwmt.zathura-pdf-poppler.desktop
[Added Associations]
video/*=mpv.desktop;
application/pdf=org.pwmt.zathura-pdf-mupdf.desktop;
application/pdf=org.pwmt.zathura-pdf-poppler.desktop;

View File

@ -12,9 +12,9 @@ unbind-key g
unbind-key m
unbind-key f
browser "qutebrowser %u"
macro m set browser "mpv %u" ; open-in-browser ; set browser "qutebrowser %u"
macro f set browser "firefox --new-tab %u" ; open-in-browser ; set browser "qutebrowser %u"
browser "firefox %u"
macro m set browser "mpv %u" ; open-in-browser ; set browser "firefox %u"
macro q set browser "qutebrowser %u" ; open-in-browser ; set browser "firefox %u"
bind-key , macro-prefix
bind-key j down

View File

@ -5,7 +5,7 @@ audio/mpeg; mpv --no-video "%s"
image/*; qimgv "%s"
# text
text/html; qutebrowser "%s"
text/html; firefox "%s"
text/plain; less "%s"
# fallback to vim

View File

@ -7,7 +7,7 @@
:hl "en"
:tl "ja"
:engine "google"
:browser "qutebrowser"
:browser "firefox"
:pager "less -R"
:theme "happiness.trans"
:user-agent "Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0"

View File

@ -209,8 +209,8 @@ filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
" Web
filextype *.html,*.htm,*.xhtml
\ firefox %f &,
\ qutebrowser %f &,
\ firefox --new-tab %f &,
filetype *.html,*.htm,*.xhtml lynx %f
" Object

View File

@ -9,7 +9,7 @@ main() {
SHELL=bash fzf \
--ansi \
--tac \
--bind='enter:execute(qutebrowser {2})' \
--bind='enter:execute(firefox {2})' \
--expect='ctrl-d,ctrl-e' \
--delimiter=' ' \
--height=100% \

View File

@ -22,7 +22,7 @@ case $1 in
;;
esac
browser='qutebrowser'
browser='firefox'
declare -A urls