qutebrowser: Fix tab visibility toggling

Changed default tab visibility option to only show when multiple tabs
are open.

Fixed default tab visibility to always take effect when qutebrowser is
started and always allow simultaneous toggling to tabs and status bar
(<leader>tt)
This commit is contained in:
Marty Oehme 2022-06-12 16:09:35 +02:00
parent f523431f01
commit cbf1e4e8e2
Signed by: Marty
GPG Key ID: B7538B8F50A1C800
2 changed files with 3 additions and 1 deletions

View File

@ -53,6 +53,8 @@ c.tabs.background = True
c.tabs.title.format = "{index} {audio}{perc}{current_title}"
c.tabs.position = "right"
c.tabs.width = "15%"
c.tabs.show = "multiple"
c.statusbar.show = "always"
c.colors.webpage.bg = "#555555"

View File

@ -38,7 +38,7 @@ config.bind("<Ctrl-Y>", "rl-yank", mode="command")
# toggles ('cycles') between tabs always showing, or only when switching between them
config.bind(
leader + "tt",
"config-cycle -t tabs.show always switching ;; config-cycle -t statusbar.show always in-mode",
"config-cycle -t tabs.show multiple switching ;; config-cycle -t statusbar.show always in-mode",
)
config.bind(leader + "th", "set tabs.position bottom")
config.bind(leader + "tH", "set tabs.position top")