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
|
-- vim: set ft=haskell:
Config {
-- font = "-adobe-courier-medium-r-*-*-34-*-*-*-*-*-*-*",
-- font= "-adobe-*-*-r-*-24-*",
-- font= "-*-*-*-*-*-24-*",
font = "xft:Sans-13:bold"
, bgColor = "black"
, fgColor = "grey"
, position = TopW L 95
, lowerOnStart = True
, commands = [
Run StdinReader
, Run MultiCpu ["-t","<total0> <total1> <total2> <total3> <total4> <total5> <total6> <total7>%",
"-L","10","-H","65","--low","gray90","--normal","lightblue","--high","red"] 10
, Run Network "eth0" ["-t","<rx> <tx>","-L","100","-H","5000","--low","gray90","--normal","lightblue","--high","red"] 10
, Run Memory ["-t","<usedratio>%","-L","20","-H","60","--low","gray90","--normal","lightblue","--high","red"] 10
, Run Swap ["-t","<usedratio>%","-L","1","-H","10","--low","gray90","--normal","yellow","--high","red"] 10
--, Run Date "%a %_d %b %Y %H:%M:%S" "date" 10
, Run Date "%d %b %H:%M:%S" "date" 10
, Run DiskU
[
("/", "/:<fc=white><free></fc>"),
("/mnt/DATA", "/dat:<fc=white><free></fc>"),
("/mnt/BACKUP", "/bkp:<fc=white><free></fc>"),
("/mnt/PENIS", "/pns:<fc=white><free></fc>")
] [] 20
, Run CoreTemp ["-t", "<core0> <core1> <core2> <core3>", "-L", "40", "-H", "60", "-l", "gray90", "-n", "lightblue", "-h", "red"] 50
, Run Com "/home/miguel/git/dotfiles/xmonad/checkmail.sh" [] "mymails" 100
, Run Com "/home/miguel/git/dotfiles/xmonad/nvidia-temp.sh" [] "gputemp" 30
]
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader%}{%mymails% - net %eth0% KB/s- cpu %multicpu% (%coretemp%°C) - gpu %gputemp% - mem %memory% (%swap%) - %disku% - <fc=#aaaacc>%date%</fc>"
}
|