]> git.rmz.io Git - dotfiles.git/commitdiff
qutebrowser: session configuration (needs patched qutebrowser)
authorSamir Benmendil <me@rmz.io>
Sun, 7 Apr 2024 00:35:15 +0000 (01:35 +0100)
committerSamir Benmendil <me@rmz.io>
Sun, 7 Apr 2024 00:35:15 +0000 (01:35 +0100)
qutebrowser/config.py

index 66cd4c31320a2470bd5deb6e445452dcb54d0588..0c0cd584c492826bbb453ea112e719c3ceae9738 100644 (file)
@@ -1453,7 +1453,8 @@ c.qt.args = ['proxy-pac-url=file://' + str(config.configdir / 'proxy.pac')]
 ## sessions from the sate file, if you want to not load any sessions,
 ## pass an empty list.
 ## Type: List of String
-# c.session.startup_sessions = None
+# NOTE: I only want this with my sessions patch
+c.session.startup_sessions = ['default', 'work']
 
 ## Languages to use for spell checking. You can check for available
 ## languages and install dictionaries using scripts/dictcli.py. Run the
@@ -1839,7 +1840,8 @@ c.url.searchengines = {'DEFAULT':        'https://duckduckgo.com/?t=chakra&q={}'
 ## Format to use for the window title. The same placeholders like for
 ## `tabs.title.format` are defined.
 ## Type: FormatString
-# c.window.title_format = '{perc}{current_title}{title_sep}qutebrowser'
+# NOTE: I think [session] is from my changes on the branch
+# c.window.title_format = '[{session}] {perc}{current_title}{title_sep}qutebrowser'
 
 ## Set the main window background to transparent.  This allows having a
 ## transparent tab- or statusbar (might require a compositor such as