]> git.rmz.io Git - dotfiles.git/commitdiff
qutebrowser: show changelog on every patch release
authorSamir Benmendil <me@rmz.io>
Thu, 7 Oct 2021 12:06:24 +0000 (13:06 +0100)
committerSamir Benmendil <me@rmz.io>
Tue, 14 Dec 2021 22:25:46 +0000 (22:25 +0000)
This might not actually work for me since I run from git.

qutebrowser/config.py

index 39cf8d60586af5c132455c55baa75b743c710ea1..444f8f8af9b405aae0457ebd3c4a94a09b39ed04 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>'}
 
-#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.