Last active
January 29, 2021 10:16
-
-
Save StackTrac3/4e86972c8ad00ebd3867e801f83abc1c to your computer and use it in GitHub Desktop.
qutebrowser configuration files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bindings | |
config.bind("gi", "hint inputs") | |
config.bind("<f12>", "inspector") | |
#config.unbind("+") | |
#config.unbind("-") | |
#config.unbind("=") | |
#config.bind("z+", "zoom-in") | |
#config.bind("z-", "zoom-out") | |
#config.bind("zz", "zoom") | |
config.unbind("O") | |
config.unbind("T") | |
config.unbind("th") | |
config.unbind("tl") | |
config.bind("O", "set-cmd-text :open {url:pretty}") | |
config.bind("T", "set-cmd-text :open -t {url:pretty}") | |
config.bind("t", "set-cmd-text -s :open -t") | |
config.unbind("<ctrl+tab>") | |
config.bind("<ctrl+tab>", "tab-next") | |
config.bind("<ctrl+shift+tab>", "tab-prev") | |
config.unbind("ZQ") | |
config.unbind("ZZ") | |
config.unbind("<ctrl+q>") | |
config.bind("<ctrl+q>", "wq") | |
config.bind("wH", ":open -t qute://history/") | |
config.bind("cR", ":config-source") | |
# Aliases for commands. The keys of the given dictionary are the | |
# aliases, while the values are the commands they map to. | |
c.aliases = { | |
"w": "session-save", | |
"wq": "quit --save" | |
} | |
# Always restore open sites when qutebrowser is reopened. | |
c.auto_save.session = True | |
# Foreground color of the URL in the statusbar on successful load | |
# (https). | |
c.colors.statusbar.url.success.https.fg = "#797979" | |
# Background color of unselected tabs. | |
c.colors.tabs.even.bg = "#2c2c2c" | |
c.colors.tabs.odd.bg = "#4b4b4b" | |
# Foreground color of unselected tabs. | |
c.colors.tabs.even.fg = "#797979" | |
c.colors.tabs.odd.fg = c.colors.tabs.even.fg | |
# The height of the completion, in px or as percentage of the window. | |
c.completion.height = "20%" | |
# Move on to the next part when there's only one possible completion | |
# left. | |
c.completion.quick = False | |
# When to show the autocompletion window. | |
# Valid values: | |
# - always: Whenever a completion is available. | |
# - auto: Whenever a completion is requested. | |
# - never: Never. | |
c.completion.show = "auto" | |
# Whether quitting the application requires a confirmation. | |
# Valid values: | |
# - always: Always show a confirmation. | |
# - multiple-tabs: Show a confirmation if multiple tabs are opened. | |
# - downloads: Show a confirmation if downloads are running | |
# - never: Never show a confirmation. | |
c.confirm_quit = ["downloads"] | |
# Value to send in the `Accept-Language` header. | |
c.content.headers.accept_language = "en-US,en;q=0.8,q=0.6" | |
# The proxy to use. In addition to the listed values, you can use a | |
# `socks://...` or `http://...` URL. | |
# Valid values: | |
# - system: Use the system wide proxy. | |
# - none: Don"t use any proxy | |
c.content.proxy = "none" | |
# Validate SSL handshakes. | |
# Valid values: | |
# - true | |
# - false | |
# - ask | |
c.content.ssl_strict = True | |
# A list of user stylesheet filenames to use. | |
c.content.user_stylesheets = "user.css" | |
# Prompt the user for the download location. If set to false, | |
# `downloads.location.directory` will be used. | |
c.downloads.location.prompt = True | |
# The editor (and arguments) to use for the `open-editor` command. `{}` | |
# gets replaced by the filename of the file to be edited. | |
#c.editor.command = ["code"] | |
primary_font = "20px 'Source Code Pro'" | |
# c.fonts.default_size = "20px" | |
# Font used in the completion categories. | |
c.fonts.completion.category = f"bold {primary_font}" | |
# Font used in the completion widget. | |
c.fonts.completion.entry = primary_font | |
# Font used for the debugging console. | |
c.fonts.debug_console = primary_font | |
# Font used for the downloadbar. | |
c.fonts.downloads = primary_font | |
# Font used in the keyhint widget. | |
c.fonts.keyhint = primary_font | |
# Font used for error messages. | |
c.fonts.messages.error = primary_font | |
# Font used for info messages. | |
c.fonts.messages.info = primary_font | |
# Font used for warning messages. | |
c.fonts.messages.warning = primary_font | |
# Font used for prompts. | |
c.fonts.prompts = primary_font | |
# Font used in the statusbar. | |
c.fonts.statusbar = primary_font | |
# Font used for the hints. | |
c.fonts.hints = "bold 13px 'DejaVu Sans Mono'" | |
c.fonts.tabs.unselected = primary_font | |
c.fonts.tabs.selected = primary_font | |
# Chars used for hint strings. | |
c.hints.chars = "wqeasdfghjkli" | |
# Leave insert mode if a non-editable element is clicked. | |
c.input.insert_mode.auto_leave = True | |
# Automatically enter insert mode if an editable element is focused | |
# after loading the page. | |
c.input.insert_mode.auto_load = True | |
# Enable smooth scrolling for web pages. Note smooth scrolling does not | |
# work with the `:scroll-px` command. | |
c.scrolling.smooth = True | |
# Open new tabs (middleclick/ctrl+click) in the background. | |
c.tabs.background = True | |
# Behavior when the last tab is closed. | |
# Valid values: | |
# - ignore: Don't do anything. | |
# - blank: Load a blank page. | |
# - startpage: Load the start page. | |
# - default-page: Load the default page. | |
# - close: Close the window. | |
c.tabs.last_close = "startpage" | |
# Padding around text for tabs | |
c.tabs.padding = { | |
"left": 5, | |
"right": 5, | |
"top": 0, | |
"bottom": 1, | |
} | |
# Which tab to select when the focused tab is removed. | |
# Valid values: | |
# - prev: Select the tab which came before the closed one (left in horizontal, above in vertical). | |
# - next: Select the tab which came after the closed one (right in horizontal, below in vertical). | |
# - last-used: Select the previously selected tab. | |
c.tabs.select_on_remove = "prev" | |
# The page to open if :open -t/-b/-w is used without URL. Use | |
# `about:blank` for a blank page. | |
c.url.default_page = "https://www.startpage.com" | |
# Definitions of search engines which can be used via the address bar. | |
# Maps a searchengine name (such as `DEFAULT`, or `ddg`) to a URL with a | |
# `{}` placeholder. The placeholder will be replaced by the search term, | |
# use `{{` and `}}` for literal `{`/`}` signs. The searchengine named | |
# `DEFAULT` is used when `url.auto_search` is turned on and something | |
# else than a URL was entered to be opened. Other search engines can be | |
# used by prepending the search engine name to the search term, e.g. | |
# `:open google qutebrowser`. | |
c.url.searchengines = {"DEFAULT": "https://www.startpage.com/do/dsearch?query={}"} | |
# The page(s) to open at the start. | |
c.url.start_pages = "https://www.startpage.com/" | |
# The format to use for the window title. The following placeholders are | |
# defined: | |
# * `{perc}`: The percentage as a string like `[10%]`. | |
# * `{perc_raw}`: The raw percentage, e.g. `10` | |
# * `{title}`: The title of the current web page | |
# * `{title_sep}`: The string ` - ` if a title is set, empty otherwise. | |
# * `{id}`: The internal window ID of this window. | |
# * `{scroll_pos}`: The page scroll position. | |
# * `{host}`: The host of the current web page. | |
# * `{backend}`: Either ''webkit'' or ''webengine'' | |
# * `{private}` : Indicates when private mode is enabled. | |
#c.window.title_format = "{private}{perc}{title}{title_sep}browser" | |
config.load_autoconfig() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::-webkit-scrollbar { | |
width: 20px; | |
height: 8px; | |
} | |
::-webkit-scrollbar-track:vertical { | |
background: #2c2c2c; | |
border-left: 1px solid #2c2c2c; | |
} | |
::-webkit-scrollbar-thumb:vertical { | |
background: rgb(114, 114, 114); | |
border-left: 1px solid #2c2c2c; | |
} | |
::-webkit-scrollbar-track:horizontal { | |
background: rgb(114, 114, 114); | |
border-radius: 4px; | |
} | |
::-webkit-scrollbar-thumb:horizontal { | |
background: rgb(114, 114, 114); | |
border-radius: 4px; | |
box-shadow: inset 0 0 8px #2c2c2c; | |
} | |
::-webkit-scrollbar-corner { | |
background: srgb(114, 114, 114); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment