<div dir="auto">It's been a while since I looked but can an outside process effect the state of the bar? If so then could this key watching behavior can be offloaded to an outside script? </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 4, 2020, 14:32 Florian Bruhin <<a href="mailto:me@the-compiler.org">me@the-compiler.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Martin,<br>
<br>
On Sat, Jan 04, 2020 at 11:17:51PM +0100, Martin wrote:<br>
> for the feature<br>
> "c.tabs.show = 'switching'"<br>
> one can set<br>
> "c.tabs.show_switching_delay = 1200"<br>
> in order to control, how long the tab bar is shown.<br>
> <br>
> Since the tabs are switched with shift+j or shift+k, I think a better<br>
> solution would be to show the tabs as long as the shift key is held<br>
> down, after pressing shift+j.<br>
> <br>
> From a user perspective, this seems very natural behavior to me, and it<br>
> is least annoying, since:<br>
> Sometimes I want to see the tabs for a long time (searching a long list)<br>
> Sometimes I want the tabs to disappear asap.<br>
> <br>
> What do you think?<br>
<br>
qutebrowser's input model is centered on commands being bound to keys. Without<br>
hardcoding things (which isn't really a possibility - there are no hardcoded<br>
keybindings), that means there's no way to say "do this when shift is<br>
pressed/released". Also, other people might use non-default keybindings (like<br>
gt/gT) for switching tabs.<br>
<br>
It's a bit similar to this:<br>
<a href="https://github.com/qutebrowser/qutebrowser/issues/4768" rel="noreferrer noreferrer" target="_blank">https://github.com/qutebrowser/qutebrowser/issues/4768</a><br>
<br>
If you have an idea how any of those ideas would fit in well with qutebrowser's<br>
configuration, I'm all ears! The only thing I could think of so far is<br>
qutebrowser doing some magic (if tab switching commands happen to be bound to a<br>
keybinding with modifier, do what you proposed with that modifier key), but<br>
that seems quite cumbersome (both to implement and to explain).<br>
<br>
Florian<br>
<br>
-- <br>
<a href="mailto:me@the-compiler.org" target="_blank" rel="noreferrer">me@the-compiler.org</a> (Mail/XMPP) | <a href="https://www.qutebrowser.org" rel="noreferrer noreferrer" target="_blank">https://www.qutebrowser.org</a> <br>
       <a href="https://bruhin.software/" rel="noreferrer noreferrer" target="_blank">https://bruhin.software/</a> | <a href="https://github.com/sponsors/The-Compiler/" rel="noreferrer noreferrer" target="_blank">https://github.com/sponsors/The-Compiler/</a><br>
       GPG: 916E B0C8 FD55 A072 | <a href="https://the-compiler.org/pubkey.asc" rel="noreferrer noreferrer" target="_blank">https://the-compiler.org/pubkey.asc</a><br>
             I love long mails! | <a href="https://email.is-not-s.ms/" rel="noreferrer noreferrer" target="_blank">https://email.is-not-s.ms/</a><br>
</blockquote></div>