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
|
-- vim: set ft=haskell:
Config {
font = "xft:Sans-10:bold"
, additionalFonts = ["xft:FontAwesome-10"]
, bgColor = "#002b36"
, fgColor = "#657b83"
, position = TopW L 95
, lowerOnStart = True
, pickBroadest = False
, commands = [
Run StdinReader
, Run MultiCpu ["-t","<total0> <total1> <total2> <total3> <total4> <total5> <total6> <total7>%",
"-L","10","-H","65","--low","#93a1a1","--normal","#268bd2","--high","#dc322f"] 10
, Run Network "eth0" ["-t","rx <rx> tx <tx>",
"-L","100","-H","5000","--low","#93a1a1","--normal","#268bd2","--high","#dc322f"] 10
, Run Memory ["-t","<usedratio>%",
"-L","20","-H","60","--low","#93a1a1","--normal","#268bd2","--high","#dc322f"] 10
, Run Swap ["-t","<usedratio>%",
"-L","1","-H","10","--low","#93a1a1","--normal","#b58900","--high","#dc322f"] 10
, Run Date "%a %d %b %Y %H:%M:%S" "date" 10
, Run DiskU [ ("/", "/:<fc=#93a1a1><free></fc>"),
("/mnt/DATA", "/dat:<fc=#93a1a1><free></fc>"),
("/mnt/BACKUP", "/bkp:<fc=#93a1a1><free></fc>"),
("/mnt/PENIS", "/pns:<fc=#93a1a1><free></fc>")] [] 20
, Run CoreTemp ["-t", "<core0> <core1> <core2> <core3>",
"-L", "30", "-H", "60", "-l", "#93a1a1", "-n", "#268bd2", "-h", "#dc322f"] 50
, Run Com "/home/miguel/git/dotfiles/xmonad/checkmail.sh" [] "mymails" 30
, Run Com "/home/miguel/git/dotfiles/xmonad/nvidia-temp.sh" [] "gputemp" 30
]
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader%}{%mymails% - %eth0% KB/s - cpu %multicpu% (%coretemp%°C) - gpu %gputemp% - mem %memory% (%swap%) - %disku% - <fc=#93a1a1>%date%</fc> <action=`zenity --question --text=yesorno && xmessage -geometry 200x200+300+300 dupa -buttons YES:0,nope&&xterm`><fn=1></fn></action>"
}
|