forked from randomthought/xmonad-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xmobarrc.hs
59 lines (54 loc) · 3.08 KB
/
xmobarrc.hs
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
52
53
54
55
56
57
58
59
Config {
font = "xft:Zekton:size=13:bold:antialias=true"
, additionalFonts = [ "xft:FontAwesome:size=11" ]
, allDesktops = True
, bgColor = "#282c34"
, fgColor = "#bbc2cf"
, position = TopW L 95
, commands = [ Run Cpu [ "--template", "<fc=#a9a1e1><fn=1></fn></fc> <total>%"
, "--Low","3"
, "--High","50"
, "--low","#bbc2cf"
, "--normal","#bbc2cf"
, "--high","#fb4934"] 50
, Run Memory ["-t","<fc=#51afef><fn=1></fn></fc> <usedratio>%"
,"-H","80"
,"-L","10"
,"-l","#bbc2cf"
,"-n","#bbc2cf"
,"-h","#fb4934"] 50
, Run Date "<fc=#ECBE7B><fn=1></fn></fc> %a %b %_d %I:%M" "date" 300
, Run DynNetwork ["-t","<fc=#4db5bd><fn=1></fn></fc> <rx>, <fc=#c678dd><fn=1></fn></fc> <tx>"
,"-H","200"
,"-L","10"
,"-h","#bbc2cf"
,"-l","#bbc2cf"
,"-n","#bbc2cf"] 50
, Run CoreTemp ["-t", "<fc=#CDB464><fn=1></fn></fc> <core0>°"
, "-L", "30"
, "-H", "75"
, "-l", "lightblue"
, "-n", "#bbc2cf"
, "-h", "#aa4450"] 50
-- battery monitor
, Run BatteryP [ "BAT0" ]
[ "--template" , "<fc=#B1DE76><fn=1></fn></fc> <acstatus>"
, "--Low" , "10" -- units: %
, "--High" , "80" -- units: %
, "--low" , "#fb4934" -- #ff5555
, "--normal" , "#bbc2cf"
, "--high" , "#98be65"
, "--" -- battery specific options
-- discharging status
, "-o" , "<left>% (<timeleft>)"
-- AC "on" status
, "-O" , "<left>% (<fc=#98be65>Charging</fc>)" -- 50fa7b
-- charged status
, "-i" , "<fc=#98be65>Charged</fc>"
] 50
, Run StdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%StdinReader% }{ %cpu% | %coretemp% | %memory% | %battery% | %dynnetwork% | %date% |" -- #69DFFA
}