Skip to content

Xmonad configuration (Spiral layout)

I'm currently using the Spiral layout for Xmonad. I like its appearance and it eliminates the horizontal option provided by the standard layout, which I don't much like.

The analogue clock in the lower left-hand corner is provided by the program buici-clock, which integrates well with Xmonad.

Here is my xmonad.hs:

import XMonad
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Util.Run(spawnPipe)
import XMonad.Util.EZConfig(additionalKeys)
import System.IO
import XMonad.Layout.Spiral

myManageHook = composeAll
[ resource =? "gimp" --> doFloat
, resource =? "xpaint" --> doFloat
, resource =? "display" --> doFloat
, resource =? "mplayer" --> doFloat

myLayout = spiral (6/7) ||| Full
main = xmonad defaultConfig { layoutHook = myLayout }

{ modMask = mod4Mask
, terminal = "xterm"
, borderWidth = 2


No Trackbacks


Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
Form options