Also worth adding that I'm working on making the documentation for commands better too!
On Thu, 9 Dec 2021, 07:19 Justine Smithies, <[email protected]> wrote: > I spent hours going over and over the documentation and examining other > peoples configs. > > See here. > http://docs.qtile.org/en/latest/manual/config/lazy.html > > On Thu, 9 Dec 2021, 02:05 Luc Serre, <[email protected]> wrote: > >> 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 >> <https://groups.google.com/d/msgid/qtile-dev/791daab3-e150-43eb-94b0-8f9d61ced65en%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/CADrRWNYprnot-xuspXKX0W03NAza8fuzqtYTsvK0s9YDgYRQtQ%40mail.gmail.com > <https://groups.google.com/d/msgid/qtile-dev/CADrRWNYprnot-xuspXKX0W03NAza8fuzqtYTsvK0s9YDgYRQtQ%40mail.gmail.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/CADPQLhBSjJ-EwhWdnq22KoVuEQXyhks_L2LkpFqn%2B49ZfRPyUA%40mail.gmail.com.
