dotfiles/.config/conky/conkyrc1

108 lines
4.5 KiB
Plaintext

conky.config = {
alignment = 'top_left',
background = true,
xinerama_head = 1,
double_buffer = true,
font = 'xos4 Terminus:pixelsize=12',
draw_graph_borders = true,
draw_outline = false,
minimum_width = 260,
maximum_width = 260,
minimum_height = 1080,
gap_x = 5,
gap_y = 5,
no_buffers = true,
own_window = true,
own_window_class = Conky,
own_window_type = 'override',
own_window_transparent = false,
own_window_colour = '#2D2D2D',
update_interval = 1.0,
use_xft = true,
default_color = '#D3D0C8',
format_human_readable = true,
short_units = true,
if_up_strictness = 'link',
use_spacer = left,
top_name_width = 25,
top_cpu_separate = true,
text_buffer_size = 1024,
color2 = '#F2F0EC',
font2 = 'xos4 Terminus:pixelsize=14',
--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}%]],
template3 = [[${scroll wait 20 1 2 \2} ${goto 140}${if_match ${fs_used_perc \1}>90}${color F2777A}$else${if_match ${fs_used_perc \1}>75}${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}]]
};
conky.text = [[
${color 6699CC}$alignc${font xos4 Terminus:pixelsize=18}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}
${template1 6}
${template1 7}
${template1 8}
${template1 9}
${template1 10}
${color2}${font2}Disque E/S $hr${font}${color}
${voffset 2}Lecture ssd ${diskio_read /dev/disk/by-id/ata-Samsung_SSD_860_EVO_1TB_S4X6NJ0MC09727A}${goto 140}Écriture ssd ${diskio_write /dev/disk/by-id/ata-Samsung_SSD_860_EVO_1TB_S4X6NJ0MC09727A}
${diskiograph_read /dev/disk/by-id/ata-Samsung_SSD_860_EVO_1TB_S4X6NJ0MC09727A 26,125}$alignr${diskiograph_write /dev/disk/by-id/ata-Samsung_SSD_860_EVO_1TB_S4X6NJ0MC09727A 26,125}
Lecture L1V ${diskio_read /dev/disk/by-id/ata-WDC_WD40EZAZ-00SF3B0_WD-WX52D7159L1V}${goto 140}Écriture L1V ${diskio_write /dev/disk/by-id/ata-WDC_WD40EZAZ-00SF3B0_WD-WX52D7159L1V}
${diskiograph_read /dev/disk/by-id/ata-WDC_WD40EZAZ-00SF3B0_WD-WX52D7159L1V 26,125}$alignr${diskiograph_write /dev/disk/by-id/ata-WDC_WD40EZAZ-00SF3B0_WD-WX52D7159L1V 26,125}
Lecture T9F ${diskio_read /dev/disk/by-id/ata-WDC_WD40EZAZ-00SF3B0_WD-WX32D6123T9F}${goto 140}Écriture T9F ${diskio_write /dev/disk/by-id/ata-WDC_WD40EZAZ-00SF3B0_WD-WX32D6123T9F}
${diskiograph_read /dev/disk/by-id/ata-WDC_WD40EZAZ-00SF3B0_WD-WX32D6123T9F 26,125}$alignr${diskiograph_write /dev/disk/by-id/ata-WDC_WD40EZAZ-00SF3B0_WD-WX32D6123T9F 26,125}
Lecture T0W0 ${diskio_read /dev/disk/by-id/wwn-0x50014ee0af38f135}${goto 140}Écriture T0W0 ${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}
Lecture JTP ${diskio_read /dev/disk/by-id/ata-WDC_WD40EZAZ-00SF3B0_WD-WX52D7159JTP}${goto 140}Écriture JTP ${diskio_write /dev/disk/by-id/ata-WDC_WD40EZAZ-00SF3B0_WD-WX52D7159JTP}
${diskiograph_read /dev/disk/by-id/ata-WDC_WD40EZAZ-00SF3B0_WD-WX52D7159JTP 26,125}$alignr${diskiograph_write /dev/disk/by-id/ata-WDC_WD40EZAZ-00SF3B0_WD-WX52D7159JTP 26,125}
${template2 1}
${template2 2}
${template2 3}
${template2 4}
${template2 5}
${template2 6}
${template2 7}
${template2 8}
${template2 9}
${template2 10}
${color2}${font2}Espace disque $hr${font}${color}
${voffset 2}${template3 / /}
${template3 /home /home}
${template3 /mnt/data /mnt/data}
${template3 /mnt/backup /mnt/backup}
${template3 /home/minecraft /home/minecraft}
${template3 /tmp /tmp}
${execpi 5 /home/breizh/.config/conky/conky_mount}#${color2}${font2}$hr${font}${color}
]]