Use Xft use_xft yes xftfont DejaVu Sans size xftalpha text_buffer_size

  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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048
# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 200 0
#maximum_width 200
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders yes
# Stippled borders?
stippled_borders 0
# border margins
border_margin 5
# border width
border_width 1
# Default colors and also border colors
default_color white
#default_shade_color black
#default_outline_color white
own_window_colour white
# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 0
#gap_y 189
gap_y 24
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
#colors
color0 white
# Brave
color1 729fcf
color2 3465a4
color3 204a87
# Butter
#color1 fce94f
#color2 edd400
#color3 c4a000
# Human
#color1 fcaf3e
#color2 f57900
#color3 ce5c00
# Wine
#color1 da3f3f
#color2 c22f2f
#color3 a40000
# Wise
#color1 a7cc57
#color2 789e2d
#color3 42770c
# Chocolate
#color1 e9b96e
# Plum
#color1 ad7fa8
#color2 75507b
# Aluminium
color4 eeeeec
color5 d3d7cf
color6 babdb6
color7 888a85
color8 555753
color9 2e3436
#----------------------#
# Вырезанные строчки #
#----------------------#
# Батарея
#${goto 11}${voffset -1}${font Wingdings:size=27}'${font}${goto 36}${voffset -14}Батарея: ${alignr 10}${color 729fcf}${battery_bar 8,78 BAT0}${color0}
#${alignr 92}${voffset 1}${battery_time BAT0}
#${alignc -53}${voffset -13}${battery_percent BAT0}%
# Для одного винчестера
#${alignc 30}${voffset 4}чтение
#${alignc -50}${voffset -13}запись
#${goto 11}${voffset 0}${font PizzaDude Bullets:size=14}J${font}${goto 36}${voffset -9}${diskiograph_read sda 17,78 edd400 c4a000}${alignr 10}${diskiograph_write sda 17,78 da3f3f c22f2f}
# Если есть WiFi
#${if_existing /proc/net/route eth0}
#${offset -5}${voffset -10}${font Webdings:size=30}w${font}${alignc -10}${voffset -10}Проводная сеть
#${goto 38}${voffset 14}${font PizzaDude Bullets:size=12}U${font}${alignr 95}${voffset -1}${downspeed eth0} KB/s
#${goto 121}${voffset -15}${font PizzaDude Bullets:size=12}O${font}${alignr 12}${voffset -1}${upspeed eth0} KB/s
#${goto 11}${voffset 3}${font PizzaDude Bullets:size=14}t${font}${goto 36}${voffset -9}${downspeedgraph eth0 17,78 a7cc57 789e2d}${alignr 10}${upspeedgraph eth0 17,78 a7cc57 789e2d}
#${goto 11}${voffset -1}${font PizzaDude Bullets:size=14}a${font}${goto 36}${voffset -2}Local Ip: ${alignr 10}${addr eth0}
#${goto 11}${voffset 7}${font PizzaDude Bullets:size=14}b${font}${goto 36}${voffset -2}Public Ip: ${alignr 10}${execi 1 ~/.config/conky/ip.sh}
#${else}${if_existing /proc/net/route wlan0}
#${offset -17}${voffset -10}${font Webdings:size=30}Ô${font}${alignc -10}${voffset -16}${wireless_essid wlan0}
#${goto 36}${voffset 2}WiFi: ${wireless_link_qual_perc wlan0}%${alignr 10}${color a7cc57}${wireless_link_bar 8,78 wlan0}${color0}
#${goto 38}${voffset 5}${font PizzaDude Bullets:size=12}U${font}${alignr 95}${voffset -1}${downspeed wlan0} KB/s
#${goto 121}${voffset -15}${font PizzaDude Bullets:size=12}O${font}${alignr 12}${voffset -1}${upspeed wlan0} KB/s
#${goto 11}${voffset 3}${font PizzaDude Bullets:size=14}t${font}${goto 36}${voffset -9}${downspeedgraph wlan0 17,78 a7cc57 789e2d}${alignr 10}${upspeedgraph wlan0 17,78 a7cc57 789e2d}
#${goto 11}${voffset -1}${font PizzaDude Bullets:size=14}a${font}${goto 36}${voffset -2}Local Ip: ${alignr 10}${addr wlan0}
#${goto 11}${voffset 7}${font PizzaDude Bullets:size=14}b${font}${goto 36}${voffset -2}Public Ip: ${alignr 10}${execi 1 ~/.config/conky/ip.sh}
#${else}
#${goto 11}${voffset 42}${font PizzaDude Bullets:size=14}4${font}${goto 36}${voffset -2}${alignc -10}Сеть недоступна${voffset 50}
#${endif}${endif}
# В общем и целом формат по оффсетам (для goto) такой:
# 11 - символы
# 36 - первая колонка текста, он же начало первого бара
# длина бара - 78, (+1 на рамку)
# ширина пропуска - 4
# в итоге тот же эффект, что и отступ 10 справа
TEXT
${color0}${offset -5}${voffset -27}${font OpenLogos:size=120}v${font}${color0}
${voffset -63}ВРЕМЯ ${voffset -2}${hr 2}
${alignc 33}${voffset 9}${font Arial Black:size=26}${time %H:%M}${font}
${alignc -2}${time %A, %d.%m.%Y}
${voffset 5}СИСТЕМА ${voffset -2}${hr 2}
${offset 35}${voffset 10}cpu1:
${alignr 102}${voffset -13}${cpu cpu1}%
${offset 119}${voffset -13}cpu2:
${alignr 18}${voffset -13}${cpu cpu2}%
${goto 11}${voffset 1}${font StyleBats:size=16}M${font}${goto 36}${voffset -12}${cpugraph cpu1 18,78 729FCF 3465A4}${alignr 10}${cpugraph cpu2 18,78 729FCF 3465A4}
${goto 11}${voffset -2}${font StyleBats:size=16}g${font}${goto 36}${voffset -4}RAM: $memperc% ${alignr 10}${color e9b96e}${membar 8,78}${color0}
${goto 11}${voffset 4}${font StyleBats:size=16}j${font}${goto 36}${voffset -4}Своп: $swapperc% ${alignr 10}${color ad7fa8}${swapbar 8,78}${color0}
${goto 11}${voffset 4}${font StyleBats:size=16}q${font}${goto 36}${voffset -4}Работаем: ${alignr 10}${uptime}
${voffset -5}ДИСКИ ${voffset -2}${hr 2}
${alignc 30}${voffset 4}sda
${alignc -50}${voffset -13}sdb
${goto 11}${voffset 0}${font PizzaDude Bullets:size=14}v${font}${goto 36}${voffset -9}${diskiograph_read sda 17,78 edd400 c4a000}${alignr 10}${diskiograph_read sdb 17,78 edd400 c4a000}
${goto 11}${voffset -1}${font PizzaDude Bullets:size=14}r${font}${goto 36}${voffset -9}${diskiograph_write sda 17,78 da3f3f c22f2f}${alignr 10}${diskiograph_write sdb 17,78 da3f3f c22f2f}
${goto 11}${voffset 1}${font Pie charts for maps:size=14}7${font}${goto 36}${voffset -5}Корень:${alignr 10}${voffset 1}${fs_bar 7,78 /}
${voffset 4}${alignr 110}${fs_free /}
${offset 92}${voffset -13} / ${fs_size /}
${goto 11}${font Pie charts for maps:size=14}7${font}${goto 36}${voffset -5}Home:${alignr 10}${voffset 1}${fs_bar 7,78 /home}
${voffset 4}${alignr 110}${fs_free /home}
${offset 92}${voffset -13} / ${fs_size /home}
${goto 11}${font Pie charts for maps:size=14}7${font}${goto 36}${voffset -5}Mix:${alignr 10}${voffset 1}${fs_bar 7,80 /media/mix}
${voffset 4}${alignr 110}${fs_free /media/mix}
${offset 92}${voffset -13} / ${fs_size /media/mix}
${goto 11}${font Pie charts for maps:size=14}7${font}${goto 36}${voffset -5}Data:${alignr 10}${voffset 1}${fs_bar 7,80 /media/data}
${voffset 4}${alignr 110}${fs_free /media/data}
${offset 92}${voffset -13} / ${fs_size /media/data}
${goto 11}${font Pie charts for maps:size=14}7${font}${goto 36}${voffset -5}Files:${alignr 10}${voffset 1}${fs_bar 7,80 /media/files}
${voffset 4}${alignr 110}${fs_free /media/files}
${offset 92}${voffset -13} / ${fs_size /media/files}
${voffset -5}ИНТЕРНЕТ ${voffset -2}${hr 2}
${if_existing /proc/net/route eth1}
${goto 20}${voffset -5}${font PizzaDude Bullets:size=12}U${font}${alignr 113}${voffset -1}${downspeed eth1} KB/s
${goto 112}${voffset -15}${font PizzaDude Bullets:size=12}O${font}${alignr 21}${voffset -1}${upspeed eth1} KB/s
${goto 11}${voffset -1}${downspeedgraph eth0 17,91 a7cc57 789e2d}${alignr 10}${upspeedgraph eth1 17,91 a7cc57 789e2d}
${goto 11}${voffset -1}${font PizzaDude Bullets:size=14}a${font}${goto 36}${voffset -2}Local Ip: ${alignr 10}${addr eth1}
${goto 11}${voffset 7}${font PizzaDude Bullets:size=14}b${font}${goto 36}${voffset -2}Public Ip: ${alignr 10}${execi 1 ~/.config/conky/ip.sh}
${else}
${goto 11}${voffset 25}${font PizzaDude Bullets:size=14}4${font}${goto 36}${voffset -2}${alignc -10}Сеть недоступна${voffset 33}
${endif}
${voffset -18}ПРОЦЕССЫ ${voffset -2}${hr 2}
${goto 47}${voffset 8}name${goto 120}cpu%${goto 160}mem%
${goto 11}${voffset 4}${font StyleBats:size=16}M${font}${voffset -9}${goto 36}${top name 1}${goto 120}${top cpu 1}${goto 160}${top mem 1}
${goto 36}${top name 2}${goto 120}${top cpu 2}${goto 160}${top mem 2}
${goto 36}${top name 3}${goto 120}${top cpu 3}${goto 160}${top mem 3}
${goto 11}${voffset 3}${font StyleBats:size=16}g${font}${voffset -8}${goto 36}${top_mem name 1}${goto 120}${top_mem cpu 1}${goto 160}${top_mem mem 1}
${goto 36}${top_mem name 2}${goto 120}${top_mem cpu 2}${goto 160}${top_mem mem 2}
${goto 36}${top_mem name 3}${goto 120}${top_mem cpu 3}${goto 160}${top_mem mem 3}
${voffset -76}