93 lines
3.7 KiB
Plaintext
93 lines
3.7 KiB
Plaintext
Config {
|
|
|
|
-- Appearance
|
|
font = "xft:OpenSans:size=9:antialias=true"
|
|
, bgColor = "#073642"
|
|
, fgColor = "#93a1a1"
|
|
, position = TopW L 95
|
|
|
|
-- Layout
|
|
, sepChar = "%"
|
|
, alignSep = "}{"
|
|
, template = "%StdinReader% } %mpd% { %multicpu% %coretemp% %cpufreq% | %memory% | %battery% | %YBRK% %uv brisbane% | %date%"
|
|
|
|
-- Behaviour
|
|
, lowerOnStart = False
|
|
, pickBroadest = False -- choose widest display (multi-monitor)
|
|
|
|
--Plugins
|
|
, commands =
|
|
-- CPU Activity Monitor
|
|
[ Run MultiCpu [ "--template" , "CPU: <total0>%|<total2>%"
|
|
, "--Low" , "30" -- units: %
|
|
, "--High" , "70" -- units: %
|
|
, "--low" , "#2aa198"
|
|
, "--normal" , "#859900"
|
|
, "--high" , "#dc322f"
|
|
] 10
|
|
|
|
-- cpu core temperature monitor
|
|
, Run CoreTemp [ "--template" , "Temp: <core0>°C|<core1>°C"
|
|
, "--Low" , "30" -- units: °C
|
|
, "--High" , "80" -- units: °C
|
|
, "--low" , "#2aa198"
|
|
, "--normal" , "#859900"
|
|
, "--high" , "#dc322f"
|
|
] 50
|
|
|
|
-- CPU Frequency
|
|
, Run CpuFreq [ "--template" , "<cpu0>GHz <cpu1>GHz"
|
|
] 10
|
|
|
|
-- Memory Usage Monitor
|
|
, Run Memory [ "--template" , "MEM <usedratio>%"
|
|
, "--Low" , "20" -- units: %
|
|
, "--High" , "90" -- units: %
|
|
, "--low" , "#2aa198"
|
|
, "--normal" , "#859900"
|
|
, "--high" , "#dc322f"
|
|
] 10
|
|
|
|
-- Battery Monitor
|
|
, Run BatteryP ["BAT"] [ "--template" , "BAT: <acstatus>"
|
|
, "--Low" , "10" -- units: %
|
|
, "--High" , "80" -- units: %
|
|
, "--low" , "#dc322f"
|
|
, "--normal" , "#859900"
|
|
, "--high" , "#2aa198"
|
|
|
|
, "--" -- battery specific options
|
|
-- discharging status
|
|
, "-o" , "<left>% (<timeleft>)"
|
|
-- AC "on" status
|
|
, "-O" , "<fc=#2aa198>Charging</fc>"
|
|
-- charged status
|
|
, "-i" , "<fc=#859900>Charged</fc>"
|
|
] 50
|
|
|
|
-- Read from STDIN
|
|
, Run StdinReader
|
|
|
|
-- Weather Monitor
|
|
, Run Weather "YBRK" [ "--template" , " <tempC>°C"
|
|
, "--Low" , "10"
|
|
, "--High" , "35"
|
|
, "--low" , "#2aa198"
|
|
, "--normal" , "#859900"
|
|
, "--high" , "#dc322f"
|
|
] 36000
|
|
|
|
-- Time and Date Display
|
|
, Run Date "<fc=#268bd2>%a %b %_d %H:%M</fc>" "date" 10
|
|
|
|
-- Display the current UV
|
|
, Run UVMeter "brisbane" [ "-H" , "3"
|
|
, "-L" , "3"
|
|
, "--low" , "#859900"
|
|
, "--high" , "#dc322f"
|
|
] 900
|
|
-- MPD status
|
|
, Run MPD ["-t","<artist> - <title> (<album>) <statei> ","--", "-P", ">>", "-Z", "|", "-S", "><"] 10
|
|
]
|
|
}
|