ManageDocks issue

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ManageDocks issue

Tim DuBois
Hi everyone,

I haven't altered my configuration for almost a year now, but recently
my layouts have not been respecting my dzen bar.

I understand that ManageDocks should be handling this, although that's
seemingly no longer the case.

If you take a look at my config:

https://github.com/Libbum/xmonad/blob/master/xmonad.hs

you'll see I have manageDocks here

92 newManageHook = myManageHook <+> manageHook defaultConfig <+> manageDocks

which is incorporated here:

190 main = do
191        dzenLeftBar     <- spawnPipe myXmonadBar
192        dzenRightBar    <- spawnPipe myStatusBar
193        xmonad $ defaultConfig
194                { terminal              = myTerminal
  ...  

201                , manageHook       = newManageHook


Has something changed that I'm overlooking, or is there anything in my
config you can see is causing this? I'm at a loss at how to debug the
problem at the moment.

Regards,

--Tim


_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Reply | Threaded
Open this post in threaded view
|

Re: ManageDocks issue

Brandon Allbery

On Thu, Jun 1, 2017 at 11:54 AM, Tim DuBois <[hidden email]> wrote:
I haven't altered my configuration for almost a year now, but recently
my layouts have not been respecting my dzen bar.

Two issues:

1. if you have upgraded xmonad past 0.11, you need more hooks for docks to work right. Consider switching from manual hook management to http://hackage.haskell.org/package/xmonad-contrib-0.13/docs/XMonad-Hooks-ManageDocks.html#v:docks (which will also protect you from future additions/changes).

2. For reasons currently unknown, ManageDocks is ignoring struts on windows that are not marked as EWMH dock windows. dzen doesn't mark itself as a dock by default; you must pass the `-dock' parameter to it.

--
brandon s allbery kf8nh                               sine nomine associates
[hidden email]                                  [hidden email]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

_______________________________________________
xmonad mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad