Skip to content

Instantly share code, notes, and snippets.

@qrilka
Created January 6, 2012 19:15
Show Gist options
  • Save qrilka/1571970 to your computer and use it in GitHub Desktop.
Save qrilka/1571970 to your computer and use it in GitHub Desktop.
import XMonad
import XMonad.Hooks.DynamicLog
import XMonad.Hooks.ManageDocks
import XMonad.Util.EZConfig (additionalKeys)
import XMonad.Layout.NoBorders (smartBorders)
import System.IO
import DBus.Client.Simple
import System.Taffybar.XMonadLog (dbusLog)
main = do
client <- connectSession
let pp = defaultPP
xmonad $ defaultConfig {
modMask = mod4Mask
, terminal = "urxvt"
, logHook = dbusLog client pp
, manageHook = composeAll
[ className =? "taffybar-linux-i386" --> doIgnore
]
, layoutHook = smartBorders $ avoidStruts $ layoutHook defaultConfig
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment