Create a gist now

Instantly share code, notes, and snippets.

Xmobar configuration
Config { font = "xft:inconsolata:size=10:antialias=true"
, bgColor = "#002b36"
, fgColor = "#657b83"
, position = Top
, lowerOnStart = True
, commands = [ Run Network "wlan0" ["-L","0","-H","32","--normal","green","--high","red"] 10
, Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Date "<fc=#93a1a1>%a %b %_d %Y %H:%M</fc>" "date" 10
, Run DiskIO [("/", "IO: <total>"), ("sda4", "<total>")] [] 10
, Run Com "ruby" ["/path/to/gmail_checker.rb"] "gmail" 3000
, Run StdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader% }{ <fc=#93a1a1>%gmail%</fc> %cpu% %memory% %wlan0% %diskio% %date%"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment