Actualización de las configuraciones de qutebrowser

This commit is contained in:
d13g0 2023-10-09 13:13:36 -05:00
parent 7ae13c0d8d
commit 2b3dc18517
1 changed files with 180 additions and 128 deletions

View File

@ -177,8 +177,8 @@ c.fonts.statusbar = '8pt "Hack Nerd Font"'
# Setting default page for when opening new tabs or new windows with
# commands like :open -t and :open -w .
c.url.default_page = 'file:///home/diegofcs/.config/startpages/term/index.html'
c.url.start_pages = 'file:///home/diegofcs/.config/startpages/term/index.html'
c.url.default_page = 'file:///home/diegofcs/.config/startpages/minim/index.html'
c.url.start_pages = 'file:///home/diegofcs/.config/startpages/minim/index.html'
#Configuracion de la visibilidad de las tabs#
@ -199,329 +199,381 @@ c.tabs.show = 'switching'
c.downloads.location.directory = '/home/diegofcs/Descargas'
c.downloads.location.prompt = False
c.downloads.remove_finished = 500
c.editor.command = ['urxvtc', '-e', 'vis', '{file}', '-c', 'normal {line}G{column0}l']
#Configuracion de color#
######################################################################################################################################.
# Desde aquí empieza la configuración personal, entre colores y demás.
#######################################################################################################################################
# base16-qutebrowser (https://github.com/theova/base16-qutebrowser)
# Base16 qutebrowser template by theova
# Grayscale Dark scheme by Alexandre Gavioli (https://github.com/Alexx2/)
#Configuración de cse16-qutebrowser (https://github.com/theova/base16-qutebrowser)
# Scheme name: Default Dark
# Scheme author: Chris Kempson (http://chriskempson.com)
# Template author: theova
# Commentary: Tinted Theming: (https://github.com/tinted-theming)
base00 = "#181818"
base01 = "#282828"
base02 = "#383838"
base03 = "#585858"
base04 = "#b8b8b8"
base05 = "#d8d8d8"
base06 = "#e8e8e8"
base07 = "#f8f8f8"
base08 = "#ab4642"
base09 = "#dc9656"
base0A = "#f7ca88"
base0B = "#a1b56c"
base0C = "#86c1b9"
base0D = "#7cafc2"
base0E = "#ba8baf"
base0F = "#a16946"
# set qutebrowser colors
# Text color of the completion widget. May be a single color to use for
# all columns or a list of three colors, one for each column.
c.colors.completion.fg = "#b9b9b9"
c.colors.completion.fg = base05
# Background color of the completion widget for odd rows.
c.colors.completion.odd.bg = "#252525"
c.colors.completion.odd.bg = base01
# Background color of the completion widget for even rows.
c.colors.completion.even.bg = "#101010"
c.colors.completion.even.bg = base00
# Foreground color of completion widget category headers.
c.colors.completion.category.fg = "#a0a0a0"
c.colors.completion.category.fg = base0A
# Background color of the completion widget category headers.
c.colors.completion.category.bg = "#101010"
c.colors.completion.category.bg = base00
# Top border color of the completion widget category headers.
c.colors.completion.category.border.top = "#101010"
c.colors.completion.category.border.top = base00
# Bottom border color of the completion widget category headers.
c.colors.completion.category.border.bottom = "#101010"
c.colors.completion.category.border.bottom = base00
# Foreground color of the selected completion item.
c.colors.completion.item.selected.fg = "#b9b9b9"
c.colors.completion.item.selected.fg = base05
# Background color of the selected completion item.
c.colors.completion.item.selected.bg = "#464646"
c.colors.completion.item.selected.bg = base02
# Top border color of the selected completion item.
c.colors.completion.item.selected.border.top = "#464646"
c.colors.completion.item.selected.border.top = base02
# Bottom border color of the selected completion item.
c.colors.completion.item.selected.border.bottom = "#464646"
c.colors.completion.item.selected.border.bottom = base02
# Foreground color of the matched text in the selected completion item.
c.colors.completion.item.selected.match.fg = "#8e8e8e"
c.colors.completion.item.selected.match.fg = base0B
# Foreground color of the matched text in the completion.
c.colors.completion.match.fg = "#8e8e8e"
c.colors.completion.match.fg = base0B
# Color of the scrollbar handle in the completion view.
c.colors.completion.scrollbar.fg = "#b9b9b9"
c.colors.completion.scrollbar.fg = base05
# Color of the scrollbar in the completion view.
c.colors.completion.scrollbar.bg = "#101010"
c.colors.completion.scrollbar.bg = base00
# Background color of disabled items in the context menu.
c.colors.contextmenu.disabled.bg = "#252525"
c.colors.contextmenu.disabled.bg = base01
# Foreground color of disabled items in the context menu.
c.colors.contextmenu.disabled.fg = "#ababab"
c.colors.contextmenu.disabled.fg = base04
# Background color of the context menu. If set to null, the Qt default is used.
c.colors.contextmenu.menu.bg = "#101010"
c.colors.contextmenu.menu.bg = base00
# Foreground color of the context menu. If set to null, the Qt default is used.
c.colors.contextmenu.menu.fg = "#b9b9b9"
c.colors.contextmenu.menu.fg = base05
# Background color of the context menus selected item. If set to null, the Qt default is used.
c.colors.contextmenu.selected.bg = "#464646"
c.colors.contextmenu.selected.bg = base02
#Foreground color of the context menus selected item. If set to null, the Qt default is used.
c.colors.contextmenu.selected.fg = "#b9b9b9"
c.colors.contextmenu.selected.fg = base05
# Background color for the download bar.
c.colors.downloads.bar.bg = "#101010"
c.colors.downloads.bar.bg = base00
# Color gradient start for download text.
c.colors.downloads.start.fg = "#101010"
c.colors.downloads.start.fg = base00
# Color gradient start for download backgrounds.
c.colors.downloads.start.bg = "#686868"
c.colors.downloads.start.bg = base0D
# Color gradient end for download text.
c.colors.downloads.stop.fg = "#101010"
c.colors.downloads.stop.fg = base00
# Color gradient stop for download backgrounds.
c.colors.downloads.stop.bg = "#868686"
c.colors.downloads.stop.bg = base0C
# Foreground color for downloads with errors.
c.colors.downloads.error.fg = "#7c7c7c"
c.colors.downloads.error.fg = base08
# Font color for hints.
c.colors.hints.fg = "#101010"
# Foreground color of the URL in the statusbar when there's a warning.
# Type: QssColor
c.colors.statusbar.url.warn.fg = "#7c7c7c"
#hints.border
#CSS border value for hints.
#Type: String
c.hints.border = "#101010"
c.colors.hints.fg = base00
# Background color for hints. Note that you can use a `rgba(...)` value
# for transparency.
c.colors.hints.bg = "#a0a0a0"
c.colors.hints.bg = base0A
# Font color for the matched part of hints.
c.colors.hints.match.fg = "#b9b9b9"
c.colors.hints.match.fg = base05
# Text color for the keyhint widget.
c.colors.keyhint.fg = "#b9b9b9"
c.colors.keyhint.fg = base05
# Highlight color for keys to complete the current keychain.
c.colors.keyhint.suffix.fg = "#b9b9b9"
c.colors.keyhint.suffix.fg = base05
# Background color of the keyhint widget.
c.colors.keyhint.bg = "#101010"
c.colors.keyhint.bg = base00
# Foreground color of an error message.
c.colors.messages.error.fg = "#101010"
c.colors.messages.error.fg = base00
# Background color of an error message.
c.colors.messages.error.bg = "#7c7c7c"
c.colors.messages.error.bg = base08
# Border color of an error message.
c.colors.messages.error.border = "#7c7c7c"
c.colors.messages.error.border = base08
# Foreground color of a warning message.
c.colors.messages.warning.fg = "#101010"
c.colors.messages.warning.fg = base00
# Background color of a warning message.
c.colors.messages.warning.bg = "#747474"
c.colors.messages.warning.bg = base0E
# Border color of a warning message.
c.colors.messages.warning.border = "#747474"
c.colors.messages.warning.border = base0E
# Foreground color of an info message.
c.colors.messages.info.fg = "#b9b9b9"
c.colors.messages.info.fg = base05
# Background color of an info message.
c.colors.messages.info.bg = "#101010"
c.colors.messages.info.bg = base00
# Border color of an info message.
c.colors.messages.info.border = "#101010"
c.colors.messages.info.border = base00
# Foreground color for prompts.
c.colors.prompts.fg = "#b9b9b9"
c.colors.prompts.fg = base05
# Border used around UI elements in prompts.
c.colors.prompts.border = "#101010"
c.colors.prompts.border = base00
# Background color for prompts.
c.colors.prompts.bg = "#101010"
c.colors.prompts.bg = base00
# Background color for the selected item in filename prompts.
c.colors.prompts.selected.bg = "#464646"
c.colors.prompts.selected.bg = base02
# Foreground color for the selected item in filename prompts.
c.colors.prompts.selected.fg = "#b9b9b9"
c.colors.prompts.selected.fg = base05
# Foreground color of the statusbar.
c.colors.statusbar.normal.fg = "#8e8e8e"
c.colors.statusbar.normal.fg = base0B
# Background color of the statusbar.
c.colors.statusbar.normal.bg = "#101010"
c.colors.statusbar.normal.bg = base00
# Foreground color of the statusbar in insert mode.
c.colors.statusbar.insert.fg = "#101010"
c.colors.statusbar.insert.fg = base00
# Background color of the statusbar in insert mode.
c.colors.statusbar.insert.bg = "#686868"
c.colors.statusbar.insert.bg = base0D
# Foreground color of the statusbar in passthrough mode.
c.colors.statusbar.passthrough.fg = "#101010"
c.colors.statusbar.passthrough.fg = base00
# Background color of the statusbar in passthrough mode.
c.colors.statusbar.passthrough.bg = "#868686"
c.colors.statusbar.passthrough.bg = base0C
# Foreground color of the statusbar in private browsing mode.
c.colors.statusbar.private.fg = "#101010"
c.colors.statusbar.private.fg = base00
# Background color of the statusbar in private browsing mode.
c.colors.statusbar.private.bg = "#252525"
c.colors.statusbar.private.bg = base01
# Foreground color of the statusbar in command mode.
c.colors.statusbar.command.fg = "#b9b9b9"
c.colors.statusbar.command.fg = base05
# Background color of the statusbar in command mode.
c.colors.statusbar.command.bg = "#101010"
c.colors.statusbar.command.bg = base00
# Foreground color of the statusbar in private browsing + command mode.
c.colors.statusbar.command.private.fg = "#b9b9b9"
c.colors.statusbar.command.private.fg = base05
# Background color of the statusbar in private browsing + command mode.
c.colors.statusbar.command.private.bg = "#101010"
c.colors.statusbar.command.private.bg = base00
# Foreground color of the statusbar in caret mode.
c.colors.statusbar.caret.fg = "#101010"
c.colors.statusbar.caret.fg = base00
# Background color of the statusbar in caret mode.
c.colors.statusbar.caret.bg = "#747474"
c.colors.statusbar.caret.bg = base0E
# Foreground color of the statusbar in caret mode with a selection.
c.colors.statusbar.caret.selection.fg = "#101010"
c.colors.statusbar.caret.selection.fg = base00
# Background color of the statusbar in caret mode with a selection.
c.colors.statusbar.caret.selection.bg = "#686868"
c.colors.statusbar.caret.selection.bg = base0D
# Background color of the progress bar.
c.colors.statusbar.progress.bg = "#686868"
c.colors.statusbar.progress.bg = base0D
# Default foreground color of the URL in the statusbar.
c.colors.statusbar.url.fg = "#b9b9b9"
c.colors.statusbar.url.fg = base05
# Foreground color of the URL in the statusbar on error.
c.colors.statusbar.url.error.fg = "#7c7c7c"
c.colors.statusbar.url.error.fg = base08
# Foreground color of the URL in the statusbar for hovered links.
c.colors.statusbar.url.hover.fg = "#b9b9b9"
c.colors.statusbar.url.hover.fg = base05
# Foreground color of the URL in the statusbar on successful load
# (http).
c.colors.statusbar.url.success.http.fg = "#868686"
c.colors.statusbar.url.success.http.fg = base0C
# Foreground color of the URL in the statusbar on successful load
# (https).
c.colors.statusbar.url.success.https.fg = "#8e8e8e"
c.colors.statusbar.url.success.https.fg = base0B
# Foreground color of the URL in the statusbar when there's a warning.
c.colors.statusbar.url.warn.fg = "#747474"
c.colors.statusbar.url.warn.fg = base0E
# Background color of the tab bar.
c.colors.tabs.bar.bg = "#101010"
c.colors.tabs.bar.bg = base00
# Color gradient start for the tab indicator.
c.colors.tabs.indicator.start = "#686868"
c.colors.tabs.indicator.start = base0D
# Color gradient end for the tab indicator.
c.colors.tabs.indicator.stop = "#868686"
c.colors.tabs.indicator.stop = base0C
# Color for the tab indicator on errors.
c.colors.tabs.indicator.error = "#7c7c7c"
c.colors.tabs.indicator.error = base08
# Foreground color of unselected odd tabs.
c.colors.tabs.odd.fg = "#b9b9b9"
c.colors.tabs.odd.fg = base05
# Background color of unselected odd tabs.
c.colors.tabs.odd.bg = "#252525"
c.colors.tabs.odd.bg = base01
# Foreground color of unselected even tabs.
c.colors.tabs.even.fg = "#b9b9b9"
c.colors.tabs.even.fg = base05
# Background color of unselected even tabs.
c.colors.tabs.even.bg = "#101010"
c.colors.tabs.even.bg = base00
# Background color of pinned unselected even tabs.
c.colors.tabs.pinned.even.bg = "#868686"
c.colors.tabs.pinned.even.bg = base0C
# Foreground color of pinned unselected even tabs.
c.colors.tabs.pinned.even.fg = "#f7f7f7"
c.colors.tabs.pinned.even.fg = base07
# Background color of pinned unselected odd tabs.
c.colors.tabs.pinned.odd.bg = "#8e8e8e"
c.colors.tabs.pinned.odd.bg = base0B
# Foreground color of pinned unselected odd tabs.
c.colors.tabs.pinned.odd.fg = "#f7f7f7"
c.colors.tabs.pinned.odd.fg = base07
# Background color of pinned selected even tabs.
c.colors.tabs.pinned.selected.even.bg = "#464646"
c.colors.tabs.pinned.selected.even.bg = base02
# Foreground color of pinned selected even tabs.
c.colors.tabs.pinned.selected.even.fg = "#b9b9b9"
c.colors.tabs.pinned.selected.even.fg = base05
# Background color of pinned selected odd tabs.
c.colors.tabs.pinned.selected.odd.bg = "#464646"
c.colors.tabs.pinned.selected.odd.bg = base02
# Foreground color of pinned selected odd tabs.
c.colors.tabs.pinned.selected.odd.fg = "#b9b9b9"
c.colors.tabs.pinned.selected.odd.fg = base05
# Foreground color of selected odd tabs.
c.colors.tabs.selected.odd.fg = "#b9b9b9"
c.colors.tabs.selected.odd.fg = base05
# Background color of selected odd tabs.
c.colors.tabs.selected.odd.bg = "#464646"
c.colors.tabs.selected.odd.bg = base02
# Foreground color of selected even tabs.
c.colors.tabs.selected.even.fg = "#b9b9b9"
c.colors.tabs.selected.even.fg = base05
# Background color of selected even tabs.
c.colors.tabs.selected.even.bg = "#464646"
c.colors.tabs.selected.even.bg = base02
# Background color for webpages if unset (or empty to use the theme's
# color).
c.colors.webpage.bg = "#101010"
# c.colors.webpage.bg = base00olores
# Text color of the completion widget. May be a single color to use for
# all columns or a list of three colors, one for each column.
# Type: List of QtColor, or QtColor
#c.colors.completion.fg = ['#f7f7f7', 'white', 'white']
#######################################################################################################################################
# Alias personalizados
#######################################################################################################################################
# Background color of the completion widget for odd rows.
# Type: QssColor
c.colors.completion.odd.bg = '#252525'
c.aliases = { 'h': 'home', 'b': 'back', 'f': 'forward', 'q': 'close', 'qa': 'quit', 'r': 'restart', 'w': 'session-save', 'wq': 'quit --save'}
# Background color of the completion widget for even rows.
# Type: QssColor
c.colors.completion.even.bg = '#464646'
#######################################################################################################################################
#Seleccionar el archivo
#######################################################################################################################################
# Foreground color of completion widget category headers.
# Type: QtColor
c.colors.completion.category.fg = '#999999'
config.set("fileselect.single_file.command", ['urxvtc', '-e', 'nnn', '--choosefile={}'])
config.set("fileselect.multiple_files.command", ['urxvtc', '-e', 'nnn', '--choosefiles={}'])
##########################################################
# Keybinds personalizados
##########################################################
#######################################################################################################################################
#PDF Js
#######################################################################################################################################
config.bind('Y', 'hint links spawn bash -c "~/.local/bin/qute-dl "$1"" _ {hint-url}')
c.content.pdfjs = True
#config.bind('M', 'hint links spawn nohup mpv --cache=yes --demuxer-max-bytes=500M --demuxer-max-back-bytes=100M --save-position-on-quit=no -ytdl-format="bv*[height=720][ext=mp4][fps=30]+ba/b" {hint-url}')
#######################################################################################################################################
# cache
#######################################################################################################################################
#########################################################
#Bangs!
########################################################
c.content.cache.size = None
c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}', 'aw': 'https://wiki.archlinux.org/?search={}', 're': 'https://www.reddit.com/r/{}', 'yt': 'https://www.youtube.com/results?search_query={}'}
#######################################################################################################################################
#Opciones varias
#######################################################################################################################################
c.content.geolocation = 'ask'
c.content.headers.do_not_track = True
c.content.javascript.alert = True
c.content.javascript.can_open_tabs_automatically = False
c.content.local_content_can_access_file_urls = True
c.content.local_content_can_access_remote_urls = False
c.content.local_storage = True
c.content.media.audio_capture = 'ask'
c.content.media.audio_video_capture = 'ask'
c.content.media.video_capture = 'ask'
c.content.mouse_lock = 'ask'
c.content.persistent_storage = 'ask'
#######################################################################################################################################
# notificaciones
#######################################################################################################################################
#c.content.notifications.show_origin = True
c.content.notifications.enabled = True
c.content.notifications.presenter = 'herbe'
#######################################################################################################################################
#fuentes de búsqueda
#######################################################################################################################################
c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}',
'am': 'https://www.amazon.es/s?k={}',
'aw': 'https://wiki.archlinux.org/?search={}',
'gg': 'https://www.google.com/search?q={}',
'yt': 'https://yewtu.be/results?search_query={}',
'od': 'https://odysee.com/$/search?q={}',
'vpm': 'https://voidlinux.org/packages/?arch=x86_64-musl&q={}',
'vh': 'https://docs.voidlinux.org/?search={}',
'rd': 'https://www.reddit.com/r/{}',
'qb': 'https://www.qwant.com/?q={}',
'mb': 'https://metager.de/meta/meta.ger3?eingabe={}',
'sb': 'https://startpage.com/sp/search?q={}',
'xb': 'https://searx.be/?q={}',
'rt': 'http://rarbg.com/torrents.php?search={}'
}