XMonad.Hooks.ManageDocks: can't toggle dock gap since 0.13

Hello, since version 0.13 of xmonad(-contrib) and upgrading my config to that version, I find my config not to work as expected. Specifically, my binding for `sendMessage ToggleStruts` doesn't toggle the dock gap anymore. Instead, all windows overlap over my dock (dzen2) all the time. I followed the instructions at the documentation (of XMonad.Hooks.ManageDocks@xmonad-contrib): https://hackage.haskell.org/package/xmonad-contrib-0.13/docs/XMonad-Hooks-Ma... i.e. I apply `docks` on the XConfig and `avoidStruts` on the layout. You can find my current config on GitHub (repo: "config"; branch: "xmonad-0.13"): https://github.com/mekeor/config/blob/xmonad-0.13/home/mekeor/.xmonad/xmonad... I also checked CHANGES.md but version 0.13 only seems to fix bugs in that module. What am I doing wrong? Am I missing something? -- mekeor ~ EDD3 DFFA 76F6 11C0 145F 9A99 AC85 BAD8 A2F8 C868

On Mon, May 8, 2017 at 9:17 PM, Mekeor Melire
anymore. Instead, all windows overlap over my dock (dzen2) all the time.
dzen2 needs the -dock parameter now. I don't know why; supposedly it sets the strut anyway and supposedly we have code to handle it without the EWMH dock indicator. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

Yes, with 0.13 you will need both 'docks' and 'avoidStruts'. Most of the
documentation you find on Xmonad out there isn't up to date on this.
xmonad $ docks defaultConfig
{ manageHook = manageDocks <+> manageHook defaultConfig
, layoutHook = avoidStruts $ layoutHook defaultConfig
, etc...
On Mon, May 8, 2017 at 7:27 PM, Mekeor Melire
Brandon Allbery
writes: dzen2 needs the -dock parameter now. I don't know why; supposedly it sets the strut anyway and supposedly we have code to handle it without the EWMH dock indicator.
Thank you! :) _______________________________________________ xmonad mailing list xmonad@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
participants (3)
-
Brandon Allbery
-
Gregory Propf
-
Mekeor Melire