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
|
Config {
bgColor = "#0f0e06"
, fgColor = "#cfbcba"
, border = BottomB
, font = "xft:Iosevka Comfy-12"
, additionalFonts = ["Noto Color Emoji-10", "Iosevka Nerd Font"]
, position = TopH 22
, commands = [
-- Network activity monitor (dynamic interface resolution)
Run Date "%Y-%m-%d (%a) %H:%M" "mydate" 10
-- Run Com "<terminal app/script>" [<app arguments>] <template identifier> <refreshrate>
, Run Com "notmuch" ["count", "tag:unread"] "unread-mail" 100
, Run Com "notmuch" ["count", "tag:inbox"] "inbox-mail" 100
, Run Com "music-plain" [] "music" 50
, Run Com "weather-plain" [] "weather" 100
, Run StdinReader -- text coming from xmonad
, Run DynNetwork [ "--template" , " : <tx>kB/s <rx>kB/s"
, "--Low" , "1000" -- units: B/s
, "--High" , "5000" -- units: B/s
, "--low" , "#64aa0f"
, "--normal" , "#d0730f"
, "--high" , "#ff4f58"
] 10
, Run ThermalZone 0 ["-t"," : <temp>C"] 30
, Run MultiCpu [ "--template" , " : <total0>%|<total1>%"
, "--Low" , "50" -- units: %
, "--High" , "85" -- units: %
, "--low" , "#64aa0f"
, "--normal" , "#d0730f"
, "--high" , "#ff4f58"
] 10
]
, template = " %StdinReader% }{ <fc=#d0730f>%weather%</fc> | <fc=#64aa0f> : </fc><fc=#6a84af>[U]</fc> %unread-mail% <fc=#82a0af>[I]</fc> %inbox-mail% | <fc=#6a84af>%music%</fc> | %multicpu% | %thermal0% | %dynnetwork% | : %mydate% "
}
|