Skip to content

Instantly share code, notes, and snippets.

@geekosaur
Last active November 9, 2019 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geekosaur/c2e86f2e1769e5ed68c04aad2283f165 to your computer and use it in GitHub Desktop.
Save geekosaur/c2e86f2e1769e5ed68c04aad2283f165 to your computer and use it in GitHub Desktop.
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