|
|
|
Config {
|
|
|
|
font = "xft:Monospace:size=7"
|
|
|
|
, bgColor = "black"
|
|
|
|
, fgColor = "grey"
|
|
|
|
, position = BottomW L 90
|
|
|
|
, commands = [Run Cpu ["-L","3","-H","50","--normal","green","--high","red", "-p", "3", "-t", "Cpu:<total>%"] 10
|
|
|
|
, Run Memory ["-t","Mem: <usedratio>%"] 10
|
|
|
|
, Run Swap [] 10
|
|
|
|
, Run Date "%a %b %_d %H:%M" "date" 10
|
|
|
|
, Run Battery ["-t", "<acstatus>", "-L", "10", "-H", "80", "-l", "red", "-h", "green", "--", "-O", "<fc=blue><left>%</fc>", "-i", "<fc=blue><left>%</fc>", "-o", "Bat: <left>% / <timeleft>"] 10
|
|
|
|
, Run Locks
|
|
|
|
, Run PipeReader "/home/lars/.xmonad/actiondisplay" "action"
|
|
|
|
, Run UnsafeStdinReader
|
|
|
|
]
|
|
|
|
, sepChar = "%"
|
|
|
|
, alignSep = "}{"
|
|
|
|
, template = "%UnsafeStdinReader% }{ %action% | %locks% | <action=`gnome-power-statistics`>%battery%</action> | <action=`gnome-system-monitor`>%cpu% | %memory% * %swap%</action> | <fc=#ee9a00>%date%</fc>"
|
|
|
|
}
|