From 819a5e9dab52cf4b53090e72e105df61a3042db2 Mon Sep 17 00:00:00 2001 From: simonkellet Date: Wed, 20 Oct 2021 22:32:35 +0100 Subject: [PATCH] added command to hide status bar/tab bar --- qutebrowser/autoconfig.yml | 4 +++- qutebrowser/config.py | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/qutebrowser/autoconfig.yml b/qutebrowser/autoconfig.yml index 8593da5..6e83a9f 100644 --- a/qutebrowser/autoconfig.yml +++ b/qutebrowser/autoconfig.yml @@ -21,9 +21,11 @@ settings: global: never scrolling.smooth: global: true + statusbar.show: + global: never tabs.position: global: left tabs.show: - global: always + global: never tabs.width: global: 2% diff --git a/qutebrowser/config.py b/qutebrowser/config.py index bac4666..44f0b91 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -222,6 +222,9 @@ config.bind('', 'spawn --userscript qute-pass') #c.colors.webpage.darkmode.grayscale.images = 0.5 #c.colors.webpage.darkmode.policy.images = 'never' #c.colors.webpage.darkmode.policy.page = 'smart' +config.bind('xs', 'config-cycle statusbar.show always never') +config.bind('xt', 'config-cycle tabs.show always never') +config.bind('xx', 'config-cycle tabs.show always never;; config-cycle statusbar.show always never') c.url.searchengines["g"] = "https://www.google.co.uk/search?q={}" c.url.searchengines["ddg"] = "https://www.duckduckgo.com/?q={}"