togglehidepanel

Kinley Dorji kinleyd at gmail.com
Tue Jun 28 19:14:37 CEST 2016


Thanks Florian, never tried it before but that works.

On Tue, Jun 28, 2016 at 4:40 PM Florian Bruhin <me at the-compiler.org> wrote:

> Hey Andreas,
>
> * Andreas Reuleaux <rx at a-rx.info> [2016-06-28 06:33:53 +0100]:
> > I saw that there is a togglehidepanel defined in panel.sh, and thought
> > that I can just use that with
> >
> >   hc keybind $Mod-d togglehidepanel
> >
> > in my autostart, but apparently it does not work that way:
> > the panel at the top stays as it is when I hit Mod-d
> >
> > Maybe that togglehidepanel is supposed to be used differently?
>
> It's not a hlwm command, but a hook the panel is listening to (by
> doing hc --idle).
>
> You can emit it using the emit_hook command, i.e. something like this
> should work:
>
>    hc keybind $Mod-d emit_hook togglehidepanel
>
> Florian
>
> --
> http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
>    GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
>          I love long mails! | http://email.is-not-s.ms/
>



More information about the hlwm mailing list