-
Notifications
You must be signed in to change notification settings - Fork 2
/
conkyrc-rus_xfce
128 lines (125 loc) · 8.21 KB
/
conkyrc-rus_xfce
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
conky.config = {
--#############################################################
-- Arch --:-- code and Design: Belyakov Igor aka OldHank
-- Re-work By ZIZA
-- https://github.com/XZVB12/Conky-Preset
--#############################################################
--===Settings=================================================
use_xft = true,
font = 'Roboto:size=9',
xftalpha = 0.2,
text_buffer_size = 256,
--############################################################
background = false,
own_window = true,
--own_window_type override
own_window_type = 'normal', --desktop
own_window_transparent = true,
own_window_argb_visual = true,
own_window_argb_value = 0,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
double_buffer = true,
total_run_times = 0,
update_interval = 0.7,
-- Minimum size of text area
minimum_width = 278, minimum_height = 0,
maximum_width = 278,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
stippled_borders = 0,
border_width = 3,
--====================================================
--Default colors and also border colors
default_color = '#00c5ff',--22ff00 Смена цвета Голубой / Зелёный
own_window_colour = '#000000',
--====================================================
--Text alignment, other possible values are commented
alignment = 'top_right',
gap_x = 2,
gap_y = 0,
uppercase = false,
cpu_avg_samples = 2,
net_avg_samples = 2,
override_utf8_locale = true,
use_spacer = 'none',
--===Text=================================================
};
conky.text = [[
${image $HOME/.conky/ARCH-V-3/img/Manjaro.png -p 4,4 -s 40x40} ${voffset -5}
${alignc}${font Univers Condensed Bold:bold:size=10} ${goto 60} ${execi 108000 echo $(awk -F'=' '/^NAME=/ {print $2}' /etc/os-release | tr -d '"')} ${execi 108000 echo $(lsb_release -sr)} $DESKTOP_SESSION ${font} ${voffset -5}
${voffset 10}${font Ubuntu:bold:size=11}${goto 157} ${voffset -2}
${font Cadillac Sans:bold:size=15} ${time %H:%M:%S} ${font} ${voffset -4} ${font Cadillac Sans:size=10} ${voffset 2} ${alignc} ${goto 100} ${time %A, %d %B %Y}
${font OpenLogos:size=20}t${font} Ядро: ${alignr} ${kernel} ${machine}
${font StyleBats:size=18}q${font}${voffset -5} Время работы: ${alignr} ${uptime} ${voffset 7}
${font CadillacSans-Bold:size=11} Имя хоста: ${alignr} ${nodename} ${voffset -5}
${hr}
${font StyleBats:size=20}E${font}${voffset -6} CPU1: ${cpu cpu1}% ${alignr} ${cpubar cpu1 6,97} ${voffset 5}
${font StyleBats:size=20}E${font}${voffset -6} CPU2: ${cpu cpu2}% ${alignr} ${cpubar cpu2 6,97} ${voffset 5}
${font StyleBats:size=20}E${font}${voffset -6} CPU3: ${cpu cpu3}% ${alignr} ${cpubar cpu3 6,97} ${voffset 5}
${font StyleBats:size=20}E${font}${voffset -6} CPU4: ${cpu cpu4}% ${alignr} ${cpubar cpu4 6,97} ${voffset 5}
${font StyleBats:size=20}E${font}${voffset -6} Общее CPU: ${alignr} ${cpu}% / GHz: $freq_g ${voffset 5}
#=== CPU TEMP ====================================================================================================================
t° Процессора: $alignr ${execi 1 sensors | grep "CPUTIN" | cut -c 26-32} ${voffset 5}
#=== GPU TEMP ====================================================================================================================
t° GPU: $alignr ${nvidia temp}°C ${voffset -5}
#=== Memory ======================================================================================================================
${hr}
${font StyleBats:size=20}g${font}${voffset -6} ОЗУ: $memperc% ${alignr} ${membar 6,97} ${voffset 5}
${font StyleBats:size=20}g${font}${voffset -6} Всего ОЗУ: ${alignr} $memmax ${voffset 5}
${font StyleBats:size=20}g${font}${voffset -6} ОЗУ Использованно: ${alignr} $mem ${voffset 5}
${font StyleBats:size=20}g${font}${voffset -6} ОЗУ Свободно: $alignr $memeasyfree ${voffset 5}
${font StyleBats:size=20}j${font}${voffset -6} Объём SWAP: ${alignr} $swapmax ${voffset 5}
${font StyleBats:size=20}j${font}${voffset -6} Использованно SWAP: ${alignr} $swap ${voffset 5}
${font StyleBats:size=20}j${font}${voffset -6} Свободно SWAP: ${alignr} $swapfree ${voffset 5}
${font StyleBats:size=20}j${font}${voffset -6} Активно SWAP: $swapperc% ${alignr} ${swapbar 6,97} ${voffset 1}
#=== HDD Section ==============================================================================================================================
${hr}
${font Cadillac Sans:weight=bold:size=10}${voffset -2} >>Диски<< ${voffset 4}
Системный раздел: ${alignr} ${fs_size /} $fs_type
${font StyleBats:size=20}A${voffset -6}${goto 35}${font} Root: ${fs_used_perc /}% ${alignr} ${fs_bar 5,97 /} ${voffset 5}
#${font StyleBats:size=20}A${voffset -6}${goto 35}${font} Home: ${fs_used_perc /home}% ${alignr} ${fs_bar 5,97 /home} ${voffset 5}
${font StyleBats:size=20}A${voffset -6}${goto 35}${font} Свободно: ${alignr} ${fs_free /} ${voffset 5}
${font StyleBats:size=20}M${voffset -6}${goto 35}${font} I/O: ${diskio} $color ${alignr} ${diskiograph 15,97} ${voffset -12}
#=== Доделать ==============================================================================================================================
#SDA $alignr ${hddtemp /dev/sda}°C
#SDB $alignr ${hddtemp /dev/sdb}°C
#SDC $alignr ${hddtemp /dev/sdc}°C #Доделать температуру дисков #Не осталось свободного места на экране TO DO
#SDD $alignr ${hddtemp /dev/sdd}°C
#$diskio_read(/dev/sda)
#$diskio_write(/dev/sda) #Доделать ввод/вывод под остальные диски
#=== Internet Section ==========================================================================================================================
${hr}
${font Cadillac Sans:weight=bold:size=10} >>Сеть<< ${font} ${voffset 2}
${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed enp37s0 } ${voffset 0} ${alignr} ${downspeedgraph enp37s0 15,97 black black} ${voffset -8}
${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed enp37s0 } ${voffset 0} ${alignr} ${upspeedgraph enp37s0 15,97 black black} ${voffset -7}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr} ${totaldown enp37s0}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr} ${totalup enp37s0} ${voffset 6}
${font} Локальный IP: ${alignr} ${addr enp37s0}
#${font} Публичный IP: ${alignr} ${execi 3600 wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'} ${voffset -5}
#${if_existing /proc/net/route enp1s0f0 } # Настройки WiFi
#=== Top Processes CPU ========================================================================================================================
${hr}
${font Cadillac Sans:weight=bold:size=10} >>Топ процессов по CPU<< ${font}
ИМЯ ${goto 140} ${alignr} PID %CPU %ОЗУ
1.${offset 4}${top name 1} ${goto 140} ${top pid 1} ${top cpu 1} ${top mem 1}
2.${offset 4}${top name 2} ${goto 140} ${top pid 2} ${top cpu 2} ${top mem 2}
3.${offset 4}${top name 3} ${goto 140} ${top pid 3} ${top cpu 3} ${top mem 3}
4.${offset 4}${top name 4} ${goto 140} ${top pid 4} ${top cpu 4} ${top mem 4}
5.${offset 4}${top name 5} ${goto 140} ${top pid 5} ${top cpu 5} ${top mem 5}
#6.${offset 4}${top name 6} ${goto 140} ${top pid 6} ${top cpu 6} ${top mem 6} ${voffset -5}
#=== Top processes memory ======================================================================================================================
${hr}
${font Cadillac Sans:weight=bold:size=10} >>Топ процессов по ОЗУ<< ${font}
ИМЯ ${alignr} ${goto 197} PID %ОЗУ
1. ${top_mem name 1} ${goto 140} ${alignr} ${top_mem pid 1} ${alignr} ${top_mem mem 1}
2. ${top_mem name 2} ${goto 140} ${alignr} ${top_mem pid 2} ${alignr} ${top_mem mem 2}
3. ${top_mem name 3} ${goto 140} ${alignr} ${top_mem pid 3} ${alignr} ${top_mem mem 3}
4. ${top_mem name 4} ${goto 140} ${alignr} ${top_mem pid 4} ${alignr} ${top_mem mem 4}
5. ${top_mem name 5} ${goto 140} ${alignr} ${top_mem pid 5} ${alignr} ${top_mem mem 5}
#6. ${top_mem name 6} ${goto 140} ${alignr} ${top_mem pid 6} ${alignr} ${top_mem mem 6} ${voffset -5}
${hr}
# THE END ;)
]];