Created
January 6, 2012 19:15
-
-
Save qrilka/1571970 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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