Skip to content

Instantly share code, notes, and snippets.

@joefiorini
Created January 8, 2015 18:05
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 joefiorini/91e3d3b16f246cbeeb8a to your computer and use it in GitHub Desktop.
Save joefiorini/91e3d3b16f246cbeeb8a to your computer and use it in GitHub Desktop.
Xmobarrc
Config { font = "xft:Source Code Pro:size=24:bold:antialias=true"
, bgColor = "#002b36"
, fgColor = "#657b83"
, position = TopP 0 150
, lowerOnStart = True
, commands = [ Run Cpu ["-L", "3", "-H", "50", "-n", "#719e07", "-h", "#dc322f"] 10
, Run Battery ["-t", "<left>% (<timeleft>)", "-L", "25", "-H", "75", "-h", "#719e07", "-n", "#b58900", "-l", "#dc322f"] 10
, Run ThermalZone 0 ["-t", "<temp> C", "-L", "40", "-H", "79", "-h", "#dc322f", "-n", "#b58900", "-l", "#719e07"] 10
, Run Memory ["-t","<usedratio>%"] 10
, Run Date "%a %_d/%m %H:%M" "date" 10
, Run StdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader% }{ %cpu% | %memory% | %battery% ; %thermal0% | <fc=#93a1a1>%date%</fc>"
}
@steveklabnik
Copy link

, Run Date "%a %b %_d %Y %H:%M:%S" "date" 10 is my date line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment