Skip to content

Instantly share code, notes, and snippets.

@liangzan
Created January 19, 2012 23:17
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liangzan/1643647 to your computer and use it in GitHub Desktop.
Save liangzan/1643647 to your computer and use it in GitHub Desktop.
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