Skip to content

Instantly share code, notes, and snippets.

@sshine
Created September 25, 2012 10:56
Show Gist options
  • Save sshine/3781152 to your computer and use it in GitHub Desktop.
Save sshine/3781152 to your computer and use it in GitHub Desktop.
xmobarrc
Config { font = "-*-Fixed-*-R-Normal-*-13-*-*-*-*-*-*-*"
, bgColor = "black"
, fgColor = "grey"
, position = Top
, commands = [
Run Cpu ["-L","5","-H","50","--normal","green","--high","red"] 10
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Date "%a %b %_d %H:%M" "date" 10
, Run BatteryP ["BAT0"] ["-t","<acstatus><left>%","--",
"-O","<fc=green>+</fc>","-o","<fc=red>-</fc>",
"-l", "red", "-m", "blue", "-h", "green"] 150
, Run Network "eth0" ["-L","0","-H","32","--normal","green","--high","red"] 10
, Run Network "wlan0" ["-L","0","-H","32","--normal","green","--high","red"] 10
, Run StdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader% }{ %cpu% %memory% %battery% %eth0% %wlan0% <fc=#ee9a00>%date%</fc> "
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment