togglehidepanel

Florian Bruhin me at the-compiler.org
Tue Jun 28 12:39:57 CEST 2016


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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://listi.jpberlin.de/pipermail/hlwm/attachments/20160628/be88c21b/attachment.asc>


More information about the hlwm mailing list