From mekeor.melire at gmail.com Tue May 9 01:17:40 2017 From: mekeor.melire at gmail.com (Mekeor Melire) Date: Tue, 09 May 2017 03:17:40 +0200 Subject: [xmonad] XMonad.Hooks.ManageDocks: can't toggle dock gap since 0.13 Message-ID: <87bmr225hn.fsf@gmail.com> 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 at xmonad-contrib): https://hackage.haskell.org/package/xmonad-contrib-0.13/docs/XMonad-Hooks-ManageDocks.html 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.hs 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 From allbery.b at gmail.com Tue May 9 01:25:44 2017 From: allbery.b at gmail.com (Brandon Allbery) Date: Mon, 8 May 2017 21:25:44 -0400 Subject: [xmonad] XMonad.Hooks.ManageDocks: can't toggle dock gap since 0.13 In-Reply-To: <87bmr225hn.fsf@gmail.com> References: <87bmr225hn.fsf@gmail.com> Message-ID: On Mon, May 8, 2017 at 9:17 PM, Mekeor Melire wrote: > 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 at gmail.com ballbery at sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From mekeor.melire at gmail.com Tue May 9 02:27:12 2017 From: mekeor.melire at gmail.com (Mekeor Melire) Date: Tue, 09 May 2017 04:27:12 +0200 Subject: [xmonad] XMonad.Hooks.ManageDocks: can't toggle dock gap since 0.13 In-Reply-To: References: <87bmr225hn.fsf@gmail.com> Message-ID: <87r2zylq7z.fsf@gmail.com> 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! :) From gpropf at gmail.com Wed May 10 22:44:49 2017 From: gpropf at gmail.com (Gregory Propf) Date: Wed, 10 May 2017 15:44:49 -0700 Subject: [xmonad] XMonad.Hooks.ManageDocks: can't toggle dock gap since 0.13 In-Reply-To: <87r2zylq7z.fsf@gmail.com> References: <87bmr225hn.fsf@gmail.com> <87r2zylq7z.fsf@gmail.com> Message-ID: 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 wrote: > > 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 at haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad > -------------- next part -------------- An HTML attachment was scrubbed... URL: