You are not logged in.
When I hook up a second monitor to my laptop, xmonad leaves a gap at the top of the secondary screen where xmobar would reside, but I purposely keep xmobar on the laptops display only, so the gap goes unfilled.
I'm not sure how to change my config file to remedy this.
relevant ~/.xmonad/xmonad.hs sections
myLayout = avoidStruts $ smartBorders ( vert ||| Mirror vert ||| Full)
where
vert = ResizableTall nmaster delta ratio []
nmaster = 1
ratio = toRational (2/(1+sqrt(5)::Double))
delta = 3/100
myManageHook = manageDocks <+> manageHook defaultConfig
main = do
xmproc <- spawnPipe "xmobar"
xmonad $ defaultConfig
{
borderWidth = 1,
terminal = "urxvt +sb",
normalBorderColor = "#000000",
focusedBorderColor = "#ff0000",
layoutHook = myLayout,
manageHook = myManageHook,
logHook = dynamicLogWithPP $ xmobarPP
{
ppOutput = hPutStrLn xmproc,
ppTitle = xmobarColor "green" "" . shorten 50
}
}
Offline