Skip to content

Instantly share code, notes, and snippets.

@cocreature
Created January 20, 2014 18:54
Show Gist options
  • Save cocreature/8526652 to your computer and use it in GitHub Desktop.
Save cocreature/8526652 to your computer and use it in GitHub Desktop.
xmobarrc
Config
{ font = "xft:Bitstream Vera Sans Mono:size=8:antialias=true"
, bgColor = "#121212"
, fgColor = "#AFAF87"
, position = Top
, lowerOnStart = True
, commands =
[ Run DynNetwork ["-t", "<dev> <fc=#387BAB><rx>kb/s</fc> <fc=#005F87><tx>kb/s</fc>", "-w", "4"] 15
, Run Date "%a %m-%d %H:%M:%S " "date" 10
, Run Com "/usr/bin/cut" ["-d", " ", "-f", "1-3", "/proc/loadavg"] "load" 50
, Run StdinReader
, Run Kbd [("us(altgr-intl)", "US"), ("gb_de", "GB")]
, Run Memory ["-p", "2", "-c", "0", "-S", "True",
"-H", "80", "-h", "#D7005F", "-L", "50", "-l", "#87FF00", "-n", "#FF8700",
"-t", "RAM: <usedratio>"] 50
, Run Cpu ["-p", "2", "-c", "0", "-S", "True",
"-H", "75", "-h", "#D7005F", "-L", "30", "-l", "#87FF00", "-n", "#FF8700",
"-t", "CPU: <total>"] 50
, Run MPD ["-t", "<state>: <artist> - <title>"] 10
, Run BatteryP ["BAT0"]
["-t", "<acstatus>/<watts> (<left>%)",
"-L", "10", "-H", "80", "-p", "3",
"--", "-O", "<fc=green>On</fc> - ", "-i", "",
"-L", "-15", "-H", "-5",
"-l", "red", "-m", "blue", "-h", "green"]
600
]
, template = " %StdinReader% }{ %mpd% | %battery% | <fc=#B2B2B2>%dynnetwork%</fc><fc=#B2B2B2> | KEY: <fc=#87FF00>%kbd%</fc> | %memory% | %cpu% | <fc=#B973FF>%load%</fc></fc><fc=#3F3F3F> | </fc><fc=#D0CFD0>%date%</fc>"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment