On Thu, Aug 21, 2014 at 07:30:19AM -0700, Владимир К wrote: > > > > > On Thu, Aug 21, 2014 at 06:04:13AM -0700, Владимир К wrote: > > > > I wrote the following code in the config file (hardcoding, but it works): > > > ... > > > > > > def hide_show_bar(qtile): > > > bar = qtile.currentScreen.top > > > if bar.size == 0: > > > bar.size = 30 > > > bar.window.unhide() > > > else: > > > bar.size = 0 > > > bar.window.hide() > > > qtile.currentGroup.layoutAll() > > > > > > ... > > > > > > Key([mod, "shift"], "d", lazy.function(hide_show_bar)) > > > > Huh, this is pretty cool. Has it worked well in your experience? We > > could do something like this in core. > > > > Tycho > > > > > I use this code for about 1 month, so far so good.
Cool! Do you mind submitting a PR to core? Something like cmd_hide_bars on screen should be ok. Otherwise I can take the code and put it in, but better if you have credit :) Tycho > -- > You received this message because you are subscribed to the Google Groups > "qtile-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "qtile-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
