Last active
November 9, 2019 19:03
-
-
Save geekosaur/c2e86f2e1769e5ed68c04aad2283f165 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 System.IO | |
import XMonad | |
import XMonad.Hooks.DynamicLog | |
import XMonad.Hooks.ManageDocks | |
import XMonad.Util.Run (spawnPipe) | |
import XMonad.Util.EZConfig (additionalKeys) | |
main = do | |
xmproc <- spawnPipe "xmobar" | |
xmonad $ docks | |
def { | |
borderWidth = 6, | |
normalBorderColor = "#330055", | |
focusedBorderColor = "#ff8800", | |
modMask = mod4Mask, | |
focusFollowsMouse = False, | |
clickJustFocuses = False, | |
layoutHook = avoidStruts $ layoutHook def, | |
logHook = | |
dynamicLogWithPP xmobarPP | |
{ | |
ppOutput = hPutStrLn xmproc, | |
ppTitle = xmobarColor "green" "" . shorten 50 | |
} | |
} | |
`additionalKeys` | |
[ | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment