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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
conky.config = {
out_to_x = false,
own_window = false,
out_to_console = true,
background = false,
max_text_width = 0,
update_interval = 0.5,
total_run_times = 0,
short_units = true,
if_up_strictness = 'link',
use_spacer = 'none',
override_utf8_locale = false,
cpu_avg_samples = 6,
net_avg_samples = 6,
mpd_host = 'localhost',
mpd_port = 6600,
}
conky.text = [[
COLOR: \#FF0000
FULLTEXT: ${if_up tun_rz01} RZ01${endif}${if_up tun_inso} INSO${endif}${if_up tun_gemkon} GEMKON${endif}
${if_up ens8u1u2}
COLOR: \#00FF00
FULLTEXT: ens8u1u2 ${upspeed ens8u1u2}↑ ${downspeed ens8u1u2}↓ ${addr ens8u1u2}
${endif}
${if_up intern0}
COLOR: \#00FF00
FULLTEXT: intern0 ${upspeed intern0}↑ ${downspeed intern0}↓
${endif}
${if_up eth0}
COLOR: \#00FF00
FULLTEXT: eth0 ${upspeed eth0}↑ ${downspeed eth0}↓ ${addr eth0}
${endif}
${if_up wlp3s0}
COLOR: \#00FF00
FULLTEXT: W ${upspeed wlp3s0}↑ ${downspeed wlp3s0}↓ ${addr wlp3s0}
${endif}
${if_up guest0}
COLOR: \#FF0000
FULLTEXT: guest0 ${upspeed guest0}↑ ${downspeed guest0}↓
${endif}
${if_up usb0}
COLOR: \#FF0000
FULLTEXT: usb0 ${upspeed usb0}↑ ${downspeed usb0}↓
${endif}
# { "full_text" : "IO ${diskio_read}↑ ${diskio_write}↓"},
FULLTEXT: PA ${pa_sink_volume}%${if_pa_sink_muted} MUTED${endif}
FULLTEXT: / ${fs_free /}
FULLTEXT: /home ${fs_free /home}
COLOR: \#55ff55
FULLTEXT: CPU ${cpu cpu}%
COLOR: ${if_match ${memperc}<80}\#55ff55${else}\#ff0000${endif}
FULLTEXT: RAM ${mem} (${memperc}%)
${if_match "${swapmax}" != "0B"}
COLOR: \#ff5555
FULLTEXT: SWAP ${swap}/${swapmax} (${swapperc}%)
${endif}
COLOR: \#5555FF
COMMAND: battery BAT0 BAT1
FULLTEXT: ${loadavg}
FULLTEXT: Up ${uptime}
SHORTTEXT: ${time %F %H:%M:%S}
FULLTEXT: ${time %a %F %H:%M:%S
END_BLOCK
]]
|