aboutsummaryrefslogtreecommitdiff
path: root/.config/qutebrowser
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2023-02-26 11:25:26 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2023-02-26 11:25:26 +0000
commitf24793639bd276cb2278b10e163dace8eb2d0c90 (patch)
tree413b2a44eb8f2b4d523ae62d2ed650e886aa0924 /.config/qutebrowser
parent74808e9032d6044e067b01ce764677c795dcf26d (diff)
downloaddotfiles-f24793639bd276cb2278b10e163dace8eb2d0c90.tar
dotfiles-f24793639bd276cb2278b10e163dace8eb2d0c90.tar.gz
dotfiles-f24793639bd276cb2278b10e163dace8eb2d0c90.tar.bz2
dotfiles-f24793639bd276cb2278b10e163dace8eb2d0c90.tar.lz
dotfiles-f24793639bd276cb2278b10e163dace8eb2d0c90.tar.xz
dotfiles-f24793639bd276cb2278b10e163dace8eb2d0c90.tar.zst
dotfiles-f24793639bd276cb2278b10e163dace8eb2d0c90.zip
Add cmus, newsboat and qutebrowser configs, as well as GB layout to sway.
Diffstat (limited to '.config/qutebrowser')
-rw-r--r--.config/qutebrowser/config.py84
m---------.config/qutebrowser/dracula0
2 files changed, 84 insertions, 0 deletions
diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py
new file mode 100644
index 0000000..725efe8
--- /dev/null
+++ b/.config/qutebrowser/config.py
@@ -0,0 +1,84 @@
+import dracula.draw
+# Autogenerated config.py
+#
+# NOTE: config.py is intended for advanced users who are comfortable
+# with manually migrating the config file on qutebrowser upgrades. If
+# you prefer, you can also configure qutebrowser using the
+# :set/:bind/:config-* commands without having to write a config.py
+# file.
+#
+# Documentation:
+# qute://help/configuring.html
+# qute://help/settings.html
+
+# Change the argument to True to still load settings configured via autoconfig.yml
+config.load_autoconfig(False)
+
+# Aliases for commands. The keys of the given dictionary are the
+# aliases, while the values are the commands they map to.
+# Type: Dict
+c.aliases = {'q': 'close', 'qa': 'quit', 'w': 'session-save', 'wq': 'quit --save', 'wqa': 'quit --save'}
+
+# Time interval (in milliseconds) between auto-saves of
+# config/cookies/etc.
+# Type: Int
+c.auto_save.interval = 15000
+
+# Enable JavaScript.
+# Type: Bool
+config.set('content.javascript.enabled', True, 'chrome://*/*')
+
+# Enable JavaScript.
+# Type: Bool
+config.set('content.javascript.enabled', True, 'qute://*/*')
+
+# Enable JavaScript.
+# Type: Bool
+c.content.javascript.enabled = False
+
+# Enable smooth scrolling for web pages. Note smooth scrolling does not
+# work with the `:scroll-px` command.
+# Type: Bool
+c.scrolling.smooth = True
+
+# Search engines which can be used via the address bar. Maps a search
+# engine 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 `{`/`}` braces. The following further
+# placeholds are defined to configure how special characters in the
+# search terms are replaced by safe characters (called 'quoting'): *
+# `{}` and `{semiquoted}` quote everything except slashes; this is the
+# most sensible choice for almost all search engines (for the search
+# term `slash/and&amp` this placeholder expands to `slash/and%26amp`).
+# * `{quoted}` quotes all characters (for `slash/and&amp` this
+# placeholder expands to `slash%2Fand%26amp`). * `{unquoted}` quotes
+# nothing (for `slash/and&amp` this placeholder expands to
+# `slash/and&amp`). * `{0}` means the same as `{}`, but can be used
+# multiple times. The search engine 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`.
+# Type: Dict
+c.url.searchengines = {'DEFAULT': 'https://html.duckduckgo.com/html?q={}'}
+
+# Bindings for normal mode
+config.bind(',M', 'hint links spawn mpv {hint-url}')
+config.bind(',m', 'spawn mpv {url}')
+
+c.editor.command = ["nvim-qt", "{file}"]
+c.content.cookies.accept = "never"
+c.completion.web_history.max_items = 0
+c.completion.cmd_history_max_items = 0
+# Privacy
+c.content.private_browsing = True
+config.set("content.webgl", False, "*")
+c.content.geolocation = False
+
+dracula.draw.blood(c, {
+ 'spacing': {
+ 'vertical': 6,
+ 'horizontal': 8
+ }
+})
+
diff --git a/.config/qutebrowser/dracula b/.config/qutebrowser/dracula
new file mode 160000
+Subproject 791de19ce6a43f0fa52405eea57cba43b4c05a2