2019-02-17 18:22:29 +01:00
|
|
|
conky.config = {
|
2019-12-11 00:44:07 +01:00
|
|
|
alignment = 'top_left',
|
2019-02-17 18:22:29 +01:00
|
|
|
background = true,
|
|
|
|
xinerama_head = 1,
|
|
|
|
double_buffer = true,
|
|
|
|
font = 'xos4 Terminus:size=8',
|
|
|
|
draw_graph_borders = true,
|
2020-05-12 18:25:43 +02:00
|
|
|
draw_outline = true,
|
2019-02-17 18:22:29 +01:00
|
|
|
minimum_width = 260,
|
|
|
|
maximum_width = 260,
|
2020-05-12 18:25:43 +02:00
|
|
|
minimum_height = 0,
|
2019-02-17 18:22:29 +01:00
|
|
|
gap_x = 5,
|
|
|
|
gap_y = 5,
|
|
|
|
no_buffers = true,
|
|
|
|
own_window = true,
|
|
|
|
own_window_class = Conky,
|
|
|
|
own_window_type = 'override',
|
2019-12-11 00:44:07 +01:00
|
|
|
own_window_transparent = true,
|
2019-02-17 18:22:29 +01:00
|
|
|
own_window_colour = '#000000',
|
2019-09-09 18:40:36 +02:00
|
|
|
update_interval = 1.0,
|
2019-02-17 18:22:29 +01:00
|
|
|
use_xft = true,
|
|
|
|
default_color = 'A09F93',
|
|
|
|
format_human_readable = true,
|
|
|
|
short_units = true,
|
|
|
|
if_up_strictness = 'link',
|
|
|
|
use_spacer = left,
|
|
|
|
top_name_width = 25,
|
|
|
|
top_cpu_separate = true,
|
2020-04-18 01:44:01 +02:00
|
|
|
text_buffer_size = 1024,
|
2019-02-17 18:22:29 +01:00
|
|
|
|
|
|
|
color2 = 'F2F0EC',
|
|
|
|
font2 = 'xos4 Terminus:size=12',
|
|
|
|
|
|
|
|
--template0 = [[${cpubar cpu\1 6,60}${offset 5}]],
|
|
|
|
template0 = [[${cpubar cpu\1 6,125}${goto 140}${cpubar cpu\2}]],
|
|
|
|
template1 = [[${top pid \1} ${top name \1}$alignr${top cpu \1}%]],
|
|
|
|
template2 = [[${top_io pid \1} ${top_io name \1}$alignr${top_io io_perc \1}%]],
|
2019-06-13 20:12:29 +02:00
|
|
|
template3 = [[${scroll wait 20 1 2 \2} ${goto 140}${if_match ${fs_used_perc \1}>85}${color F2777A}$else${if_match ${fs_used_perc \1}>70}${color FFCC66}$else${color 99CC99}$endif$endif${fs_bar \1}${color}\nUtilisé : ${fs_used \1}${goto 140}Libre: ${fs_free \1}\nTaux ut.: ${fs_used_perc \1}%${goto 140}Total: ${fs_size \1}]]
|
2019-02-17 18:22:29 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
conky.text = [[
|
|
|
|
${color 6699CC}$alignc${font xos4 Terminus:size=14}Arch Linux$font$color
|
|
|
|
|
|
|
|
${color2}${font2}Processeur $hr${font}${color}
|
|
|
|
${cpugraph}
|
|
|
|
Utilisation: $cpu%${goto 140}${if_match $cpu>90}${color F2777A}$else${if_match $cpu>70}${color FFCC66}$else${color 99CC99}$endif$endif${cpubar}$color
|
|
|
|
#${template0 1}${template0 2}${template0 3}${template0 4}
|
|
|
|
#${freq 1} MHz${goto 70}${freq 2} Mhz${goto 135}${freq 3} MHz${goto 200}${freq 4} MHz
|
|
|
|
#${template0 5}${template0 6}${template0 7}${template0 8}
|
|
|
|
#${freq 5} MHz${goto 70}${freq 6} Mhz${goto 135}${freq 7} MHz${goto 200}${freq 8} MHz
|
|
|
|
#${template0 9}${template0 10}${template0 11}${template0 12}
|
|
|
|
#${freq 9} MHz${goto 70}${freq 10} Mhz${goto 135}${freq 11} MHz${goto 200}${freq 12} MHz
|
|
|
|
${template0 1 7}
|
|
|
|
${template0 2 8}
|
|
|
|
${template0 3 9}
|
|
|
|
${template0 4 10}
|
|
|
|
${template0 5 11}
|
|
|
|
${template0 6 12}
|
|
|
|
|
|
|
|
${template1 1}
|
|
|
|
${template1 2}
|
|
|
|
${template1 3}
|
|
|
|
${template1 4}
|
|
|
|
${template1 5}
|
2019-04-19 22:18:25 +02:00
|
|
|
#${template1 6}
|
|
|
|
#${template1 7}
|
|
|
|
#${template1 8}
|
|
|
|
#${template1 9}
|
|
|
|
#${template1 10}
|
2019-02-17 18:22:29 +01:00
|
|
|
|
2020-04-18 01:44:01 +02:00
|
|
|
${color2}${font2}Disque E/S $hr${font}${color}
|
|
|
|
${voffset 2}Lecture SSD ${diskio_read /dev/disk/by-id/wwn-0x5002538e39c2174e}${goto 140}Écriture SSD ${diskio_write /dev/disk/by-id/wwn-0x5002538e39c2174e}
|
|
|
|
${diskiograph_read /dev/disk/by-id/wwn-0x5002538e39c2174e 26,125}$alignr${diskiograph_write /dev/disk/by-id/wwn-0x5002538e39c2174e 26,125}
|
|
|
|
Lecture HDD ${diskio_read /dev/disk/by-id/wwn-0x50014ee0af38f135}${goto 140}Écriture HDD ${diskio_write /dev/disk/by-id/wwn-0x50014ee0af38f135}
|
|
|
|
${diskiograph_read /dev/disk/by-id/wwn-0x50014ee0af38f135 26,125}$alignr${diskiograph_write /dev/disk/by-id/wwn-0x50014ee0af38f135 26,125}
|
2019-02-17 18:22:29 +01:00
|
|
|
${template2 1}
|
|
|
|
${template2 2}
|
|
|
|
${template2 3}
|
|
|
|
${template2 4}
|
|
|
|
${template2 5}
|
|
|
|
|
2019-04-19 22:18:25 +02:00
|
|
|
${color2}${font2}Carte graphique $hr${font}${color}
|
2020-03-03 21:09:37 +01:00
|
|
|
${voffset 2}GPU${goto 140}${texeci 3 conky_radeon}%
|
|
|
|
VRAM: ${texeci 3 conky_radeon vram mb}M${goto 140}${texeci 3 conky_radeon vram}%
|
2019-04-19 22:18:25 +02:00
|
|
|
|
2020-04-30 19:44:26 +02:00
|
|
|
${color2}${font2}Système $hr$font$color${voffset 2}
|
|
|
|
Kernel${goto 140}$kernel
|
|
|
|
Uptime${goto 140}$uptime
|
|
|
|
|
2019-02-17 18:22:29 +01:00
|
|
|
${color2}${font2}Espace disque $hr${font}${color}
|
|
|
|
${voffset 2}${template3 / /}
|
|
|
|
|
|
|
|
${template3 /home /home}
|
|
|
|
|
2020-04-18 01:44:01 +02:00
|
|
|
${template3 /mnt/data /mnt/data}
|
|
|
|
|
2019-02-17 18:22:29 +01:00
|
|
|
${template3 /tmp /tmp}
|
|
|
|
|
2020-01-09 21:17:01 +01:00
|
|
|
${template3 /dev/shm /dev/shm}
|
|
|
|
|
2019-04-19 22:18:25 +02:00
|
|
|
${execpi 5 /home/breizh/.config/conky/conky_mount}#${color2}${font2}$hr${font}${color}
|
2019-02-17 18:22:29 +01:00
|
|
|
]]
|