]> Freerunner's - dotfiles.git/commitdiff
qutebrowser: speed up scrolling
authorAndre Ramnitz <tux.rising@gmail.com>
Sun, 17 Dec 2023 03:19:32 +0000 (04:19 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Sun, 18 Aug 2024 16:18:52 +0000 (18:18 +0200)
qutebrowser/.config/qutebrowser/config.py

index 064f6f79a669a272d1009ad5bdf97af7102011ad..1b1e36a772c2887e494ff6f8e05dfa31293a468a 100644 (file)
@@ -20,7 +20,7 @@ config.load_autoconfig(False)
 #   - 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 = ['never']
+c.confirm_quit = ['downloads']
 
 # When to show a changelog after qutebrowser was upgraded.
 # Type: String
@@ -105,7 +105,7 @@ c.qt.force_platformtheme = 'qt6ct'
 #   - process-per-site-instance: Pages from separate sites are put into separate processes and separate visits to the same site are also isolated.
 #   - process-per-site: Pages from separate sites are put into separate processes. Unlike Process per Site Instance, all visits to the same site will share an OS process. The benefit of this model is reduced memory consumption, because more web pages will share processes. The drawbacks include reduced security, robustness, and responsiveness.
 #   - single-process: Run all tabs in a single process. This should be used for debugging purposes only, and it disables `:open --private`.
-c.qt.chromium.process_model = 'process-per-site'
+c.qt.chromium.process_model = 'process-per-site-instance'
 
 # Turn on Qt HighDPI scaling. This is equivalent to setting
 # QT_ENABLE_HIGHDPI_SCALING=1 (Qt >= 5.14) in the environment. It's off
@@ -537,31 +537,6 @@ c.editor.command = ['foot', '-a', 'popup', 'kak', '{file}']
 #   - external: Use an external command.
 c.fileselect.handler = 'default'
 
-# Command (and arguments) to use for selecting a single file in forms.
-# The command should write the selected file path to the specified file
-# or stdout. The following placeholders are defined: * `{}`: Filename of
-# the file to be written to. If not contained in any argument, the
-# standard output of the command is read instead.
-# Type: ShellCommand
-c.fileselect.single_file.command = ['']
-
-# Command (and arguments) to use for selecting multiple files in forms.
-# The command should write the selected file paths to the specified file
-# or to stdout, separated by newlines. The following placeholders are
-# defined: * `{}`: Filename of the file to be written to. If not
-# contained in any argument, the   standard output of the command is
-# read instead.
-# Type: ShellCommand
-c.fileselect.multiple_files.command = ['']
-
-# Command (and arguments) to use for selecting a single folder in forms.
-# The command should write the selected folder path to the specified
-# file or stdout. The following placeholders are defined: * `{}`:
-# Filename of the file to be written to. If not contained in any
-# argument, the   standard output of the command is read instead.
-# Type: ShellCommand
-c.fileselect.folder.command = ['']
-
 # Minimum number of characters used for hint strings.
 # Type: Int
 c.hints.min_chars = 2
@@ -1236,6 +1211,8 @@ c.fonts.web.size.minimum_logical = 7
 
 # Bindings for normal mode
 config.unbind('+')
+config.bind('j', 'cmd-run-with-count 3 scroll down')
+config.bind('k', 'cmd-run-with-count 3 scroll up')
 config.bind(',M', 'hint links spawn vlc {hint-url}')
 config.bind(',m', 'spawn vlc {url}')
 config.unbind('-')