|
|
|
Config { font = "-*-Fixed-Bold-R-Normal-*-13-*-*-*-*-*-*-*"
|
|
|
|
, bgColor = "black"
|
|
|
|
, fgColor = "grey"
|
|
|
|
, position = BottomW L 90
|
|
|
|
, commands = [Run Cpu ["-L","3","-H","50","--normal","green","--high","red", "-p", "3"] 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/volumepipe" "vol"
|
|
|
|
, Run Com "bash" ["-c", "if pidof redshift > /dev/null; then echo R; else echo r; fi"] "redshift" 1
|
|
|
|
, Run StdinReader
|
|
|
|
]
|
|
|
|
, sepChar = "%"
|
|
|
|
, alignSep = "}{"
|
|
|
|
, template = "%StdinReader% }{ <action=`~/.xmonad/toggle-redshift.sh`>%redshift%</action> | %vol% | %locks% | <action=`gnome-power-statistics`>%battery%</action> | <action=`gnome-system-monitor`>%cpu% | %memory% * %swap%</action> | <fc=#ee9a00>%date%</fc>"
|
|
|
|
}
|