Skip to content

Instantly share code, notes, and snippets.

@tomjnixon
Created October 4, 2011 14:49
Show Gist options
  • Save tomjnixon/1261820 to your computer and use it in GitHub Desktop.
Save tomjnixon/1261820 to your computer and use it in GitHub Desktop.
Config { font = "xft:Monaco:pixelsize=10"
, bgColor = "#73642"
, fgColor = "#93a1a1"
, position = TopW L 97
, commands = [ Run Cpu ["-L","3","-H","50","--normal","#859900","--high","#d30102", "-t", "<fc=#d33682>C</fc> <total>%", "-m", "2"] 10
, Run Memory ["-t","<fc=#d33682>M</fc> <usedratio>%"] 10
, Run Swap ["-t","<fc=#d33682>S</fc> <usedratio>%"] 10
, Run Date "<fc=#d33682>D</fc> %a %b %_d %l:%M" "date" 10
, Run StdinReader
, Run Battery
["-t", "<left>% <acstatus>",
"-L", "50", "-H", "75",
"--", "-O", "", "-o", "<fc=red>BATT</fc>",
"-l", "red", "-m", "yellow", "-h", "green"
]
50
, Run MPD ["-t", "<title> - <artist>", "--", "-P", ">>", "-Z", "|", "-S", "><"] 10
, Run Com "cat" ["/dev/shm/t"] "t" 10
]
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader% }{ <fc=#8888FF>%mpd%</fc> %cpu% %memory% %swap% %date% <fc=#d33682>B</fc> %battery% "
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment