Skip to content

Instantly share code, notes, and snippets.

@PyroLagus
Created January 20, 2015 22:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PyroLagus/ab38b074ddd7fe643b57 to your computer and use it in GitHub Desktop.
Save PyroLagus/ab38b074ddd7fe643b57 to your computer and use it in GitHub Desktop.
xmobar config
Config
{ font = "xft:Fira Mono:pixelsize=12"
, 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 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 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% }{%battery% | <fc=#3F3F3F>%dynnetwork%</fc><fc=#3F3F3F> | KEY: <fc=#87FF00>%kbd%</fc> | %memory% | %cpu% | </fc><fc=#D0CFD0>%date%</fc>"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment