Thanks for that. Can you help me understand, how did you know to not use the "cmd_" part in front of the "hide_show_bar" and how you knew to use the "lazy." in front of it? Thanks
On Wednesday, December 8, 2021 at 6:34:59 PM UTC-5 [email protected] wrote: > I have this in my config to toggle the bar > > # Toggle bars > Key([mod], "b", > lazy.hide_show_bar(position='all'), > desc="Toggle bars" > ), > > My config is here > > https://github.com/justinesmithies/qtile-dotfiles/blob/master/.config/qtile/config.py > > On Wed, 8 Dec 2021, 23:31 Luc Serre, <[email protected]> wrote: > >> So, I'm looking for how to show/hide the bar with keyboard shortcut. >> >> I found "cmd_hide_show_bar()" from >> http://docs.qtile.org/en/latest/manual/ref/commands.html >> >> I made a Key entry: >> Key(["alt", "shift"], "h", cmd_hide_show_bar()) >> (which doesn't work) >> >> My question is, now that I found the command, HOW do I go about figuring >> out how to use the command itself. I can see from looking at similar >> commands, that I'll need a "lazy.something" (which I don't understand) in >> there, but rather than just asking for the answer, my question is how do I >> go about researching how to implement this stuff (knowing if I need to >> import something first or prefix it with lazy something or whatever). >> >> Thanks >> >> -- >> 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]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/qtile-dev/0bfe4f9d-16aa-48d6-8a0f-07cef2de856en%40googlegroups.com >> >> <https://groups.google.com/d/msgid/qtile-dev/0bfe4f9d-16aa-48d6-8a0f-07cef2de856en%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/791daab3-e150-43eb-94b0-8f9d61ced65en%40googlegroups.com.
