[xmonad] Some Gnome fit and finish work

Adam Vogt vogt.adam at gmail.com
Wed May 20 10:37:18 EDT 2009


Line 69: it could result in a pattern match failure if it is applied to 
lists shorter than 3 elements. Most likely DynamicLog doesn't do that, so 
the function is safe (and IIRC xmonad would catch the error anyways). The 
alternative using take and drop is shorter too:

> , ppOrder = \(_:_:title:_) ->  [title] -- no easier way?

> , ppOrder = take 1 . drop 2

There is also XMonad.Config.Gnome.gnomeConfig which hides the ewmh and 
avoidstruts stuff. It may be worth considering using instead of 
XMonad.defaultConfig.

Adam


More information about the xmonad mailing list