1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
Config { font = "-*-Fixed-Bold-R-Normal-*-13-*-*-*-*-*-*-*"
-- Config { font = "xft:Ubuntu Mono-13",
, borderColor = "black"
, border = TopB
, bgColor = "black"
, fgColor = "grey"
, alpha = 150
, position = TopW L 93
, commands = [ Run Weather "LOWW" ["-t","<tempC>C","-L","18","-H","25","--normal","green","--high","red","--low","lightblue"] 600
, Run Network "eth0" ["-L","0","-H","32","--normal","green","--high","red"] 10
, Run Network "eth1" ["-L","0","-H","32","--normal","green","--high","red"] 10
, Run Cpu ["-L","3","-H","50","--normal","green","--high","red"] 10
, Run DynNetwork [ "--template" , "<dev>: <tx>kB/s|<rx>kB/s"
, "--Low" , "1000" -- units: B/s
, "--High" , "5000" -- units: B/s
, "--low" , "darkgreen"
, "--normal" , "darkorange"
, "--high" , "darkred"
] 10
-- cpu activity monitor
, Run MultiCpu [ "--template" , "Cpu: <total0>%/<total1>%"
, "--Low" , "50" -- units: %
, "--High" , "85" -- units: %
, "--low" , "darkgreen"
, "--normal" , "darkorange"
, "--high" , "darkred"
] 10
-- cpu core temperature monitor
, Run CoreTemp [ "--template" , "Temp: <core0>°C|<core1>°C"
, "--Low" , "70" -- units: °C
, "--High" , "80" -- units: °C
, "--low" , "darkgreen"
, "--normal" , "darkorange"
, "--high" , "darkred"
] 50
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Swap [] 10
, Run Com "uname" ["-s","-r"] "" 36000
, Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
, Run Battery ["-t","<acstatus>: <left>%","--","-O", "AC","-o", "Bat","-h","green","-l","red"] 10
, Run Com "/bin/bash" ["-c", "~/scripts/get-volume"] "myvolume" 10
, Run StdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader% }{ %multicpu% | %memory% * %swap% | %dynnetwork% | %battery% | Vol: %myvolume% | %LOWW% | <fc=#ee9a00>%date%</fc> "
-- , template = "%StdinReader% }{ %cpu% | %memory% * %swap% | %battery% | Vol: %myvolume% | %LOWW% | <fc=#ee9a00>%date%</fc> "
-- , template = "%StdinReader% | %cpu% | %memory% * %swap% | %battery% | Vol: %myvolume% | %eth0% - %eth1% }{<fc=#ee9a00>%date%</fc> | %uname% | %LOWW% "
}
|