Created
October 28, 2018 17:23
-
-
Save geekosaur/99056f658fdd6ab6e5c8cf9f889cab05 to your computer and use it in GitHub Desktop.
Bularious xmonad.hs
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 XMonad | |
import XMonad.Hooks.DynamicLog | |
import XMonad.Hooks.ManageDocks | |
import XMonad.Util.Run(spawnPipe) | |
import System.IO | |
main = do | |
xmproc <- spawnPipe "xmobar" | |
xmonad $ docks defaultConfig | |
{logHook = dynamicLogWithPP $ xmobarPP | |
{ ppOutput = hPutStrLn xmproc | |
, ppTitle = xmobarColor "green" "" . shorten 50 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment