Created
September 17, 2025 06:18
-
-
Save danielfalbo/50a0118ce84be47db3ae8e071fccee19 to your computer and use it in GitHub Desktop.
~/.config/qutebrowser/config.py
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
| # Avoid flake8 errors | |
| # pylint: disable=C0111 | |
| c = c # noqa: F821 pylint: disable=E0602,C0103 | |
| config = config # noqa: F821 pylint: disable=E0602,C0103 | |
| # Don't autoplay | |
| c.content.autoplay = False | |
| # Font family and size | |
| c.fonts.default_family = ['JetBrainsMono Nerd Font'] | |
| c.fonts.default_size = '15pt' | |
| # Padding | |
| c.statusbar.padding = {"bottom": 4, "left": 0, "right": 0, "top": 5} | |
| c.tabs.padding = {"bottom": 6, "left": 5, "right": 5, "top": 5} | |
| # Disable tabs indicators | |
| c.tabs.indicator.width = 0 | |
| # Limit fullscreen to the browser window | |
| c.content.fullscreen.window = True | |
| # Use zathura as default downloads preview command | |
| c.downloads.open_dispatcher = 'zathura' | |
| # Pseudo dark mode | |
| config.set("colors.webpage.darkmode.enabled", True) | |
| config.set("colors.webpage.darkmode.policy.images", "smart") | |
| # Colors (Nord) | |
| config.source('base16-qutebrowser/themes/minimal/base16-nord.config.py') | |
| # Toggle dark mode and restart | |
| config.bind(',', 'config-cycle colors.webpage.darkmode.enabled ;; restart') | |
| # Load customization done via :set, :bind, :unbind, etc. | |
| # Useful to toggle the dark mode | |
| config.load_autoconfig() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment