]> git.rmz.io Git - dotfiles.git/blobdiff - qutebrowser/config.py
qutebrowser: use default of no lazy_restore
[dotfiles.git] / qutebrowser / config.py
index 39cf8d60586af5c132455c55baa75b743c710ea1..ecbd5921cb03f4c7b23c63430f172436140e4180 100644 (file)
@@ -110,7 +110,15 @@ c.auto_save.session = True
 ## Type: Dict
 # c.bindings.key_mappings = {'<Ctrl-[>': '<Escape>', '<Ctrl-6>': '<Ctrl-^>', '<Ctrl-M>': '<Return>', '<Ctrl-J>': '<Return>', '<Ctrl-I>': '<Tab>', '<Shift-Return>': '<Return>', '<Enter>': '<Return>', '<Shift-Enter>': '<Return>', '<Ctrl-Enter>': '<Ctrl-Return>'}
 
 ## Type: Dict
 # c.bindings.key_mappings = {'<Ctrl-[>': '<Escape>', '<Ctrl-6>': '<Ctrl-^>', '<Ctrl-M>': '<Return>', '<Ctrl-J>': '<Return>', '<Ctrl-I>': '<Tab>', '<Shift-Return>': '<Return>', '<Enter>': '<Return>', '<Shift-Enter>': '<Return>', '<Ctrl-Enter>': '<Ctrl-Return>'}
 
-#TODO
+## When to show a changelog after qutebrowser was upgraded.
+## Type: String
+## Valid values:
+##   - major: Show changelog for major upgrades (e.g. v2.0.0 -> v3.0.0).
+##   - minor: Show changelog for major and minor upgrades (e.g. v2.0.0 -> v2.1.0).
+##   - patch: Show changelog for major, minor and patch upgrades (e.g. v2.0.0 -> v2.0.1).
+##   - never: Never show changelog after upgrades.
+c.changelog_after_upgrade = 'patch'
+
 ## Which algorithm to use for modifying how colors are rendered with
 ## darkmode. The `lightness-cielab` value was added with QtWebEngine 5.14
 ## and is treated like `lightness-hsl` with older QtWebEngine versions.
 ## Which algorithm to use for modifying how colors are rendered with
 ## darkmode. The `lightness-cielab` value was added with QtWebEngine 5.14
 ## and is treated like `lightness-hsl` with older QtWebEngine versions.
@@ -819,6 +827,14 @@ c.editor.command = in_terminal(['vim', '{file}', '-c', 'normal {line}G{column0}l
 ## Type: Encoding
 # c.editor.encoding = 'utf-8'
 
 ## Type: Encoding
 # c.editor.encoding = 'utf-8'
 
+## 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 = in_terminal(['ranger', '--choosedir={}'])
+
 ## Handler for selecting file(s) in forms. If `external`, then the
 ## commands specified by `fileselect.single_file.command` and
 ## `fileselect.multiple_files.command` are used to select one or multiple
 ## Handler for selecting file(s) in forms. If `external`, then the
 ## commands specified by `fileselect.single_file.command` and
 ## `fileselect.multiple_files.command` are used to select one or multiple
@@ -844,7 +860,7 @@ c.fileselect.multiple_files.command = in_terminal(['ranger', '--choosefiles={}']
 ## the file to be written to. If not contained in any argument, the
 ## standard output of the command is read instead.
 ## Type: ShellCommand
 ## 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 = in_terminal(['ranger', '--choosefile={}'])
+c.fileselect.single_file.command = in_terminal(['ranger', '--choosefile={}'])
 
 ## Font used in the completion categories.
 ## Type: Font
 
 ## Font used in the completion categories.
 ## Type: Font
@@ -1314,7 +1330,7 @@ c.qt.args = ['proxy-pac-url=file://' + str(config.configdir / 'proxy.pac')]
 
 ## Load a restored tab as soon as it takes focus.
 ## Type: Bool
 
 ## Load a restored tab as soon as it takes focus.
 ## Type: Bool
-c.session.lazy_restore = True
+# c.session.lazy_restore = False
 
 ## Whether to automatically save a session when it is closed.
 ## Type: Bool
 
 ## Whether to automatically save a session when it is closed.
 ## Type: Bool