From tim at neophilus.net Thu Jun 1 11:54:30 2017 From: tim at neophilus.net (Tim DuBois) Date: Thu, 1 Jun 2017 13:54:30 +0200 Subject: [xmonad] ManageDocks issue Message-ID: <015ae0f4-8e24-1cf6-ffa2-f0a64f0972e7@neophilus.net> 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 From allbery.b at gmail.com Thu Jun 1 17:08:50 2017 From: allbery.b at gmail.com (Brandon Allbery) Date: Thu, 1 Jun 2017 17:08:50 +0000 Subject: [xmonad] ManageDocks issue In-Reply-To: <015ae0f4-8e24-1cf6-ffa2-f0a64f0972e7@neophilus.net> References: <015ae0f4-8e24-1cf6-ffa2-f0a64f0972e7@neophilus.net> Message-ID: On Thu, Jun 1, 2017 at 11:54 AM, Tim DuBois 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 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 mattkingston at gmail.com Fri Jun 30 10:01:01 2017 From: mattkingston at gmail.com (Matt) Date: Fri, 30 Jun 2017 11:01:01 +0100 Subject: [xmonad] user-visible windows Message-ID: Hi all, I'm writing an extension and would like to know if there's some way to get a set of all windows visible to the user? I'm aware of StackSet.visible and StackSet.current. The windows obtained from these are not necessarily visible to the user- some may be totally obscured by others. I could get a list of the windows in z-order and calculate this myself, but was wondering whether anything existed that might suit my needs? Thanks in advance, Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From allbery.b at gmail.com Fri Jun 30 16:55:52 2017 From: allbery.b at gmail.com (Brandon Allbery) Date: Fri, 30 Jun 2017 12:55:52 -0400 Subject: [xmonad] user-visible windows In-Reply-To: References: Message-ID: On Fri, Jun 30, 2017 at 6:01 AM, Matt wrote: > I'm writing an extension and would like to know if there's some way to get > a set of all windows visible to the user? > I don't think we ever calculate that, we just apply the layout. -- 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: