-
Notifications
You must be signed in to change notification settings - Fork 18
/
conky-net.conf
189 lines (186 loc) · 6.4 KB
/
conky-net.conf
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
-- conky config for X
-- Auther : philosophos<philosoph@yeah.com>
-- GitHub : https://github.com/philosophos/conky.conf
conky.config = {
alignment = 'bottom_middle',
background = true,
--border_inner_margin = ,
--border_outer_margin = ,
border_width = 0,
color0 = '#999999',
color1 = '#cccccc',
color2 = '#ff0000',
color3 = '#00ff00',
color4 = '#0000ff',
color5 = '#ffcc00',
color6 = '#ccff00',
color7 = '#0099cc',
color8 = '#cc9900',
color9 = '#333333',
--cpu_avg_samples = 2,
--default_color = 'white',
--default_bar_height = 6,
--default_bar_width = 0,
--default_gauge_height = 25,
--default_gauge_width = 40,
--default_graph_height = 25,
--default_graph_width = ,
--default_outline_color = 'white',
--default_shade_color = 'white',
--disable_auto_reload = true,
diskio_avg_samples = 3,
--display = ,
--xinerama_head = ,
double_buffer = true,
--draw_borders = false,
--draw_graph_borders = true,
--draw_outline = false,
--draw_shades = false,
--extra_newline = false,
font = 'NotoSansMonoCJKSC:size=12',
gap_x = 0,
gap_y = 35,
--http_refresh = false,
if_up_strictness = 'link',
--max_text_width = 0,
--max_user_text = 16384,
--maximum_width = ,
--minimum_height = 5,
--minimum_width = 5,
net_avg_samples = 4,
--no_buffers = true,
--nvidia_display = ,
--out_to_console = false,
--out_to_http = false,
--out_to_ncurses = false,
--out_to_stderr = false,
--out_to_x = true,
--override_utf8_locale = true,
own_window = true,
--own_window_class = 'Conky',
--own_window_colour = '#000000'
--own_window_title = 'conky0 (<hostname>)'
own_window_argb_visual = true,
own_window_argb_value = 64,
--own_window_transparent = false,
own_window_type = 'override',
--short_units = true,
--show_graph_scale = false,
--show_graph_range = false,
--stippled_borders = 0,
--text_buffer_size = 256,
--top_cpu_separate = true,
--top_name_verbose = true,
--top_name_width = 15,
--total_run_times = 0,
update_interval = 0.5,
update_interval_on_battery = 1,
--uppercase = false,
use_spacer = 'none',
use_xft = true
}
--[[
${scroll 16 $nodename - $sysname $kernel on $machine | }
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}MEM Usage:$color $memperc% ${membar 8 00ff00 ff0000}
$memwithbuffers $memdirty $memeasyfree $memfree
${if $memperc > 10}\
${alignr 40}${color #ff0000}RAM: $memperc% = $mem / $memmax
${else}\
${alignr 40}${color #00ff00}RAM: $memperc% = $mem / $memmax
${endif}\
--]]
conky.text = [[
${color grey}Networking: \
$hr
${if_up eth0}\
${color #009999}ETH0\
${color #00cc88}${font Conky Icons by Carelli:size=14}h${font}${addrs eth0}
${color3}total:${totaldown eth0} \
${goto 180}${color3}${downspeed eth0}\
${goto 245}↓${color2}↑ ${upspeed eth0}\
${goto 350}${color2}total:${totalup eth0}
${color3}${downspeedgraph eth0 32,250 00ffff 00ff00} \
${color3}${downspeedgraph eth0 32,250 00ffff 00ff00}
${endif}\
${if_up ethusb0}\
${color #009999}ETHUSB0\
${color #00cc88}${font Conky Icons by Carelli:size=14}h${font}${addrs ethusb0}
${color3}total:${totaldown ethusb0} \
${goto 180}${color3}${downspeed ethusb0}\
${goto 245}↓${color2}↑ ${upspeed ethusb0}\
${goto 350}${color2}total:${totalup ethusb0}
${color3}${downspeedgraph ethusb0 32,250 00ffff 00ff00} \
${color3}${downspeedgraph ethusb0 32,250 00ffff 00ff00}
${endif}\
${if_up usb0}\
${color #009999}USB0\
${color #00cc88}${font Conky Icons by Carelli:size=14}h${font}${addrs usb0}
${color3}total:${totaldown usb0} \
${goto 180}${color3}${downspeed usb0}\
${goto 245}↓${color2}↑ ${upspeed usb0}\
${goto 350}${color2}total:${totalup usb0}
${color3}${downspeedgraph usb0 32,250 00ffff 00ff00} \
${color3}${downspeedgraph usb0 32,250 00ffff 00ff00}
${endif}\
${if_up ppp0}\
${color #009999}PPP0\
${color #00cc88}${font Conky Icons by Carelli:size=14}h${font}${addrs ppp0}
${color3}total:${totaldown ppp0} \
${goto 180}${color3}${downspeed ppp0}\
${goto 245}↓${color2}↑ ${upspeed ppp0}\
${goto 350}${color2}total:${totalup ppp0}
${color3}${downspeedgraph ppp0 32,250 00ffff 00ff00} \
${color3}${downspeedgraph ppp0 32,250 00ffff 00ff00}
${endif}\
${if_up wlan0}\
${color #009999}${font Conky Icons by Carelli:size=14}E${font}\
${color #009999}WLAN0\
${color #00cc88}${font Conky Icons by Carelli:size=14}h${font}${addr wlan0}\
${color #6699ff}${alignr}AP MAC addr: ${color #9966ff}${wireless_ap wlan0}
${color0} channel: ${color7}${wireless_channel wlan0} \
${color0}freq: ${color7}${wireless_freq wlan0} \
${color0}mode: ${color7}${wireless_mode wlan0} \
${color0}essid: ${color8}${wireless_essid wlan0}
${color3}total:${totaldown wlan0} \
${goto 180}${color3}${downspeed wlan0}\
${goto 245}↓${color2}↑ ${upspeed wlan0}\
${goto 350}${color2}total:${totalup wlan0}
${color3}${downspeedgraph wlan0 32,250 00ffff 00ff00} \
${color3}${downspeedgraph wlan0 32,250 00ffff 00ff00}
${endif}\
${if_up wlan1}\
${color #009999}${font Conky Icons by Carelli:size=14}E${font}\
${color #009999}WLAN1\
${color #00cc88}${font Conky Icons by Carelli:size=14}h${font}${addr wlan1}\
${color #6699ff}${alignr}AP MAC addr: ${color #9966ff}${wireless_ap wlan1}
${color0} channel: ${color7}${wireless_channel wlan1} \
${color0}freq: ${color7}${wireless_freq wlan1} \
${color0}mode: ${color7}${wireless_mode wlan1} \
${color0}essid: ${color8}${wireless_essid wlan1}
${color3}total:${totaldown wlan1} \
${goto 180}${color3}${downspeed wlan1}\
${goto 245}↓${color2}↑ ${upspeed wlan1}\
${goto 350}${color2}total:${totalup wlan1}
${color3}${downspeedgraph wlan1 32,250 00ffff 00ff00} \
${color3}${downspeedgraph wlan1 32,250 00ffff 00ff00}
${endif}\
${if_up wlan2}\
${color #009999}${font Conky Icons by Carelli:size=14}E${font}\
${color #009999}WLAN2\
${color #00cc88}${font Conky Icons by Carelli:size=14}h${font}${addr wlan2}\
${color #6699ff}${alignr}AP MAC addr: ${color #9966ff}${wireless_ap wlan2}
${color0} channel: ${color7}${wireless_channel wlan2} \
${color0}freq: ${color7}${wireless_freq wlan2} \
${color0}mode: ${color7}${wireless_mode wlan2} \
${color0}essid: ${color8}${wireless_essid wlan2}
${color3}total:${totaldown wlan2} \
${goto 180}${color3}${downspeed wlan2}\
${goto 245}↓${color2}↑ ${upspeed wlan2}\
${goto 350}${color2}total:${totalup wlan2}
${color3}${downspeedgraph wlan2 32,250 00ffff 00ff00} \
${color3}${downspeedgraph wlan2 32,250 00ffff 00ff00}
${endif}\
]]