[xmonad] Re: Make the red border around active window more visible

Nick Urbanik nicku at nicku.org
Tue Nov 23 04:46:12 EST 2010


Thank you for this!

On 23/11/10 02:57 -0500, wagnerdm at seas.upenn.edu wrote:
>borderWidth seems to be just what you're looking for.
>
>main = xmonad defaultConfig { borderWidth = 30 } -- BORDERS ARE HUGE LIKE XBOX

Unfortunately, I haven't learned Haskell sufficiently to understand
where to put this in my configuration, which looks like this:

imports...

myManageHook = composeAll
     [ className =? "Gimp"      --> doFloat
     , className =? "Vncviewer" --> doFloat
     ]

main = do
     xmproc <- spawnPipe "xmobar"
     xmonad $ defaultConfig {
         terminal = "Terminal"
         , manageHook = manageDocks <+> myManageHook -- make sure to include myManageHook definition from above
                         <+> manageHook defaultConfig
         , layoutHook = avoidStruts  $  layoutHook defaultConfig

         , logHook = dynamicLogWithPP $ xmobarPP
                         { ppOutput = hPutStrLn xmproc
                         , ppTitle = xmobarColor "green" "" . shorten 50
                         }
         , modMask = mod4Mask     -- Rebind Mod to the Windows key
         } `additionalKeys`
         [ ((mod4Mask .|. shiftMask, xK_z), spawn "xscreensaver-command -lock")
         , ((controlMask, xK_Print), spawn "sleep 0.2; scrot -s")
         , ((0, xK_Print), spawn "scrot")
         ]
-- 
Nick Urbanik             http://nicku.org           nicku at nicku.org
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24


More information about the xmonad mailing list