Skip to content

Commit

Permalink
Fix xmonad dock z-index
Browse files Browse the repository at this point in the history
The actual fix here is adding the `docks` function. I think that
`desktopLayoutModifiers` is functionally the same as `avoidStruts`.

This came from
xmonad/xmonad-contrib#194 (comment)
  • Loading branch information
psanford committed Mar 22, 2023
1 parent ab6c0aa commit 5d43ded
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dotfiles/xmonad/xmonad.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ import XMonad.Config.Desktop


main = do
xmonad $ ewmh def {
xmonad $ docks $ ewmh def {
workspaces = myWorkspaces
-- <+> is the Monoid mappend
, manageHook = managementHooks <+> manageHook def
, layoutHook = avoidStruts $ layoutHook def ||| Accordion ||| Grid
, layoutHook = desktopLayoutModifiers $ layoutHook def ||| Accordion ||| Grid
, modMask = mod4Mask
, terminal = "xterm"
} `additionalKeysP` myKeys
Expand Down

0 comments on commit 5d43ded

Please sign in to comment.