Use `qutebrowser` as the default one

This commit is contained in:
Hoang Nguyen 2021-02-21 19:33:04 +03:00
parent 4ddf5da5c8
commit cf7f6698b1
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
11 changed files with 19 additions and 20 deletions

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/firefox
URxvt.url-launcher: /usr/bin/qutebrowser
URxvt.matcher.button: 1
URxvt.matcher.rend.0: Uline Bold fg3
URxvt.underlineURLs: true

View File

@ -32,8 +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 = 'firefox --new-tab'
http = 'qutebrowser'
# Any URL that will accept a query string can be put here
search = "gemini://gus.guru/search"

View File

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

View File

@ -104,9 +104,9 @@ bright7=eceff4 # bright white
# minimize=none
# maximize=none
fullscreen=F11
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
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
[search-bindings]
# cancel=Control+g Escape

View File

@ -1,9 +1,9 @@
[Default Applications]
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
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
video/*=mpv.desktop
[Added Associations]

View File

@ -12,9 +12,9 @@ unbind-key g
unbind-key m
unbind-key f
browser "firefox --new-tab %u"
macro m set browser "mpv %u" ; open-in-browser ; set browser "firefox --new-tab %u"
macro f set browser "firefox --new-tab %u" ; open-in-browser ; set browser "firefox --new-tab %u"
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"
bind-key , macro-prefix
bind-key j down

View File

@ -18,7 +18,7 @@ urgent_on_bell = true
hyperlinks = true
# $BROWSER is used by default if set, with xdg-open as a fallback
browser = firefox --new-tab
browser = qutebrowser
# "system", "on" or "off"
cursor_blink = system

View File

@ -7,7 +7,7 @@
:hl "en"
:tl "ja"
:engine "google"
:browser "firefox --new-tab"
:browser "qutebrowser"
: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,7 +209,7 @@ filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
" Web
filextype *.html,*.htm,*.xhtml
\ firefox %f &,
\ qutebrowser %f &,
filetype *.html,*.htm,*.xhtml lynx %f
" Object

View File

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

View File

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