very good to know, thanks, also is possible to do it automatically on startup? I've tried using "right.show(False)" in a startup hook but it does nothing...
Il giorno giovedì 9 dicembre 2021 alle 08:21:18 UTC+1 elParaguayo ha scritto: > 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/d8a6cb85-3b2e-4302-acbf-73a329d71069n%40googlegroups.com.
