Vous n'êtes pas identifié(e).
Trésorier Debian-Facile
---
Association Debian Facile -- Les cahiers du débutant -- Iso Debian-Facile
Hors ligne
Trésorier Debian-Facile
---
Association Debian Facile -- Les cahiers du débutant -- Iso Debian-Facile
Hors ligne
Trésorier Debian-Facile
---
Association Debian Facile -- Les cahiers du débutant -- Iso Debian-Facile
Hors ligne
conky.config = {
alignment = 'top_right',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
double_buffer = true,
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
extra_newline = false,
font = 'font sans-serif:bold:size=8',
gap_x = 10,
gap_y = 40,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
own_window = true,
own_window_colour = '000000',
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window_transparent = true,
own_window_hints = 'below',
show_graph_range = false,
show_graph_scale = false,
stippled_borders = 0,
temperature_unit = 'celsius',
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
use_xft = true,
color1 ='green',
color2 ='yellow',
color3 ='orange',
color4 ='purple',
color5 ='red',
color6 ='white',
color7 ='black',
}
conky.text = [[
${font Hack:size=18}${alignc}${time %H:%M}
${font Hack:size=14}${alignc}${time %A %e %B %Y}
${color white}${hr}
${font Hack:size=12}${color orange} ${color}${nodename}
${font Abstract:size=12}${color orange}Noyau: ${color}${sysname} ${kernel}
${color orange}Session ${color}${uptime}
${color white}${hr}
${color5}CPU:${execi 1000 grep model /proc/cpuinfo | cut -d : -f2 | tail -1 | sed 's/\s//'}
${alignc}${color3}${font fontawesome:pixelsize=20}CPU:${font sans-serif:bold:size=12}${goto 90}${if_match ${cpu} > 0}${color2}${else}${color}${endif}▪\
${if_match ${cpu} > 5}${color2}${else}${color}${endif}▪\
${if_match ${cpu} > 10}${color2}${else}${color}${endif}▪\
${if_match ${cpu} > 15}${color2}${else}${color}${endif}▪\
${if_match ${cpu} > 20}${color2}${else}${color}${endif}▪\
${if_match ${cpu} > 25}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 30}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 35}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 40}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 45}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 50}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 55}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 60}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 65}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 70}${color3}${else}${color}${endif}▪\
${if_match ${cpu} > 75}${color3}${else}${color}${endif}▪\
${if_match ${cpu} > 80}${color3}${else}${color}${endif}▪\
${if_match ${cpu} > 85}${color5}${else}${color}${endif}▪\
${if_match ${cpu} > 90}${color5}${else}${color}${endif}▪\
${if_match ${cpu} > 95}${color5}${else}${color}${endif}▪\
${if_match ${cpu} == 100}${color5}${else}${color}${endif}▪
${goto 55}${color5}Coeur1:${if_match ${hwmon 0 temp 1}<20}${color1}${else}\
${color1}${if_match ${hwmon 0 temp 1}<30}${color2}${else}\
${color2}${if_match ${hwmon 0 temp 1}<70}${color3}${else}\
${color3}${if_match ${hwmon 0 temp 1}<90}${color4}${else}\
${color4}${endif}${endif}${endif}${endif}+${hwmon 0 temp 1}c°${goto 225}${color5}Coeur2:${if_match ${hwmon 1 temp 3}<20}${color1}${else}\
${color1}${if_match ${hwmon 1 temp 3}<30}${color2}${else}\
${color2}${if_match ${hwmon 1 temp 3}<70}${color3}${else}\
${color3}${if_match ${hwmon 1 temp 3}<90}${color4}${else}\
${color4}${endif}${endif}${endif}${endif}+${hwmon temp 2}c°
${if_match ${cpu}< 20} ${color2} ${else}\
${color1}${if_match ${cpu}< 50}${color1}${else}\
${color2}${if_match ${cpu}< 70}${color3}${else}\
${color3}${if_match ${cpu}< 90}${color4}${else}\
${color4}${endif}${endif}${endif}${endif}${cpugraph cpu0 14,85}${cpugraph cpu1 14,85}${cpugraph cpu2 14,85}${cpugraph cpu3 14,85}
${color3}${font fontawesome:pixelsize=20}1:${font sans-serif:bold:size=12}${goto 35}${if_match ${cpu} > 0}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 5}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 10}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 15}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 20}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 25}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 30}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 35}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 40}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 45}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 50}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 55}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 60}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 65}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 70}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 75}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 80}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 85}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 90}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 95}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu0} == 100}${color5}${else}${color}${endif}▪
${color3}${font fontawesome:pixelsize=20}2:${font sans-serif:bold:size=12}${goto 35}${if_match ${cpu} > 0}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 5}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 10}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 15}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 20}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 25}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 30}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 35}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 40}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 45}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 50}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 55}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 60}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 65}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 70}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 75}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 80}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 85}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 90}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 95}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu1} == 100}${color5}${else}${color}${endif}▪
${color3}${font fontawesome:pixelsize=20}3:${font sans-serif:bold:size=12}${goto 35}${if_match ${cpu} > 0}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 5}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 10}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 15}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 20}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 25}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 30}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 35}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 40}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 45}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 50}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 55}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 60}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 65}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 70}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 75}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpo2} > 80}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 85}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 90}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 95}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu2} == 100}${color5}${else}${color}${endif}▪
${color3}${font fontawesome:pixelsize=20}4:${font sans-serif:bold:size=12}${goto 35}${if_match ${cpu} > 0}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 5}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 10}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 15}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 20}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 25}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 30}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 35}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 40}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 45}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 50}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 55}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 60}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 65}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 70}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 75}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpo3} > 80}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 85}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 90}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 95}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu3} == 100}${color5}${else}${color}${endif}▪
${color white}${hr}
${color orange}Nom ${font Abstract:size=10}${alignr} PID CPU MEM
${font Hack:size=8}${color lightgrey}${top name 1} ${alignr}${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey}${top name 2}${alignr}${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3}${alignr}${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4}${alignr}${top pid 4} ${top cpu 4} ${top mem 4}
${font Hack:size=10}${color orange}Processus: ${color}${processes}
${color white}${hr}
${font Hack:size=12}${color orange}RAM: ${color white}${mem}/${memmax}/
${memperc}% ${font sans-serif:bold:size=12}${if_match ${memperc} > 10}${color2}${else}${color}${endif}▪\
${if_match ${memperc} > 15}${color2}${else}${color}${endif}▪\
${if_match ${memperc} > 20}${color2}${else}${color}${endif}▪\
${if_match ${memperc} > 25}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 30}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 35}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 40}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 45}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 50}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 55}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 60}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 65}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 70}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 75}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 80}${color5}${else}${color}${endif}▪\
${if_match ${memperc} > 85}${color5}${else}${color}${endif}▪\
${if_match ${memperc} > 90}${color5}${else}${color}${endif}▪\
${if_match ${memperc} > 95}${color5}${else}${color}${endif}▪\
${if_match ${memperc} == 100}${color5}${else}${color}${endif}▪
${color white}${hr}
${font Hack:size=12}${color orange}SWAP: ${color white}${swap}/${swapmax}
% ${font sans-serif:bold:size=12}${if_match ${swapperc} > 10}${color2}${else}${color}${endif}▪\
${if_match ${swapperc} > 15}${color2}${else}${color}${endif}▪\
${if_match ${swapperc} > 20}${color2}${else}${color}${endif}▪\
${if_match ${swapperc} > 25}${color1}${else}${color}${endif}▪\
${if_match ${swapperc} > 30}${color1}${else}${color}${endif}▪\
${if_match ${swapperc} > 35}${color1}${else}${color}${endif}▪\
${if_match ${swapperc} > 40}${color1}${else}${color}${endif}▪\
${if_match ${swapperc} > 45}${color1}${else}${color}${endif}▪\
${if_match ${swapperc} > 50}${color1}${else}${color}${endif}▪\
${if_match ${swapperc} > 55}${color1}${else}${color}${endif}▪\
${if_match ${swapperc} > 60}${color1}${else}${color}${endif}▪\
${if_match ${swapperc} > 65}${color1}${else}${color}${endif}▪\
${if_match ${swapperc} > 70}${color1}${else}${color}${endif}▪\
${if_match ${swapperc} > 75}${color1}${else}${color}${endif}▪\
${if_match ${swapperc} > 80}${color5}${else}${color}${endif}▪\
${if_match ${swapperc} > 85}${color5}${else}${color}${endif}▪\
${if_match ${swapperc} > 90}${color5}${else}${color}${endif}▪\
${if_match ${swapperc} > 95}${color5}${else}${color}${endif}▪\
${if_match ${swapperc} == 100}${color5}${else}${color}${endif}▪
${color white}${hr}
${font Hack:size=12}${color orange}SSD: ${color white}${hddtemp /dev/sda}°C ${if_match ${hddtemp /dev/sda} > 10}${color2}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 15}${color2}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 20}${color2}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 25}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 30}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 35}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 40}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 45}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 50}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 55}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 60}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 65}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 70}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 75}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 80}${color5}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 85}${color5}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 90}${color5}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 95}${color5}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} == 100}${color5}${else}${color}${endif}▪
${font Hack:size=10}${color orange} /:${color green}${fs_used /}/${color red}${fs_size /} ${if_match ${fs_used_perc} > 95}${color4}${else}${color3}${endif}${if_match ${fs_used_perc /} > 0}${color4}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 10}${color4}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 15}${color4}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 20}${color4}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 25}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 30}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 35}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 40}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 45}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 50}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 55}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 60}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 65}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 70}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 75}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 80}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 85}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 90}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 95}${color5}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} == 100}${color5}${else}${color}${endif}▪
${font Hack:size=10}${color orange} /home:${color green}${fs_used /home}/${color red}${fs_size /home} ${if_match ${fs_used_perc} > 95}${color5}${else}${color3}${endif}${if_match ${fs_used_perc /} > 0}${color4}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 10}${color4}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 15}${color4}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 20}${color4}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 25}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 30}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 35}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 40}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 45}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 50}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 55}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 60}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 65}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 70}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 75}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 80}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 85}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 90}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 95}${color5}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} == 100}${color5}${else}${color}${endif}▪
${color white}${hr}
${font Hack:size=12}${color orange}HDD: ${color white}${hddtemp /dev/sdb}°C ${if_match ${hddtemp /dev/sdb} > 10}${color2}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 15}${color2}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 20}${color2}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 25}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 30}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 35}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 40}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 45}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 50}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 55}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 60}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 65}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 70}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 75}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 80}${color5}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 85}${color5}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 90}${color5}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 95}${color5}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} == 100}${color5}${else}${color}${endif}▪
${color white}${hr}
${color orange}HDD${font Hack:size=8} musique-et-autre: ${font Hack:size=12}${color green}${fs_used /media/musique-et-autre}/${color red}${fs_size /media/musique-et-autre} ${color green}${fs_bar 6 /media/musique-et-autre}${color}
${color white}${hr}
${color orange}Adresse locale: ${color green}${addr enp3s0}
${color orange} ${color green}entrant▼${downspeed enp3s0}${color green} sortant▲${upspeed enp3s0}
${color white}${hr}
${color white}Carte Graphique: ${color yellow}${font Hack:size=8}Nnidia/GeForce 9400 GT
${goto 55}${font Hack:size=12}${color green}${nvidia temp} °C
${color white}${hr}${if_running clementine}
${if_match "Playing" == "${execi 10 ~/.conky/clementine status}"}MUSIQUE ${font Hack:size=8}(clementine)
${font Hack:size=10}${color white}Artiste: ${color red}${execi 10 ~/.conky/clementine artist}
${color white}Album: ${color yellow}${execi 10 ~/.conky/clementine album}
${color white}Titre: ${color green}${execi 10 ~/.conky/clementine title}
${color green}Durée:${color green}${execibar 2 ~/.conky/clementine progress}
${endif}
]]
Dernière modification par solar66 (09-11-2020 18:18:07)
En ligne
Dernière modification par Anonyme (09-11-2020 20:43:50)
SuShY je t'ai envoyé un MP pour la trésorerie...
Vu, merci
Trésorier Debian-Facile
---
Association Debian Facile -- Les cahiers du débutant -- Iso Debian-Facile
Hors ligne
Trésorier Debian-Facile
---
Association Debian Facile -- Les cahiers du débutant -- Iso Debian-Facile
Hors ligne
par exemple ${fs_bar 6,280} 280 pour la longueur à ajuster
*/media/musique-et-autre à l'intérieur des { } je ne suis pas certain que ça soit bon, à moins que tu essaies par exemple avecun truc du genre sda/media/musique-et-autre
non, non, le problème est autre;
car, si je réduit la longueur de x barres plus de problème
conky.config = {
alignment = 'top_right',
background = false,
border_width = 0.5,
cpu_avg_samples = 4,
default_color = 'white',
default_outline_color = 'grey',
default_shade_color = 'black',
draw_borders = true,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'Hack:size=8',
gap_x = 20,
gap_y = 20,
minimum_height = 1080,
minimum_width = 360,
maximum_width = 360,
maximym_height = 1080,
net_avg_samples = 2,
double_buffer = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_colour = '000000',
own_window_class = 'Conky',
own_window_argb_visual = true,
own_window_argb_value = 70,
own_window_type = 'dock',
own_window_transparent = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
update_interval = 5.0,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false,
color1 ='green',
color2 ='yellow',
color3 ='orange',
color4 ='purple',
color5 ='red',
color6 ='white',
color7 ='black',
}
conky.text = [[
${font Hack:size=18}${alignc}${time %H:%M}
${font Hack:size=14}${alignc}${time %A %e %B %Y}
${color white}${hr}
${font Hack:size=12}${color orange} ${color}${nodename}
${font Abstract:size=12}${color orange}Noyau: ${color}${sysname} ${kernel}
${color orange}Session ${color}${uptime}
${color white}${hr}
${color5}CPU:${execi 1000 grep model /proc/cpuinfo | cut -d : -f2 | tail -1 | sed 's/\s//'}
${alignc}${color3}${font fontawesome:pixelsize=20}CPU:${font sans-serif:bold:size=12}${goto 90}${if_match ${cpu} > 0}${color2}${else}${color}${endif}▪\
${if_match ${cpu} > 5}${color2}${else}${color}${endif}▪\
${if_match ${cpu} > 10}${color2}${else}${color}${endif}▪\
${if_match ${cpu} > 15}${color2}${else}${color}${endif}▪\
${if_match ${cpu} > 20}${color2}${else}${color}${endif}▪\
${if_match ${cpu} > 25}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 30}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 35}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 40}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 45}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 50}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 55}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 60}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 65}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 70}${color3}${else}${color}${endif}▪\
${if_match ${cpu} > 75}${color3}${else}${color}${endif}▪\
${if_match ${cpu} > 80}${color3}${else}${color}${endif}▪\
${if_match ${cpu} > 85}${color5}${else}${color}${endif}▪\
${if_match ${cpu} > 90}${color5}${else}${color}${endif}▪\
${if_match ${cpu} > 95}${color5}${else}${color}${endif}▪\
${if_match ${cpu} == 100}${color5}${else}${color}${endif}▪
${goto 55}${color5}Coeur1:${if_match ${hwmon 0 temp 1}<20}${color1}${else}\
${color1}${if_match ${hwmon 0 temp 1}<30}${color2}${else}\
${color2}${if_match ${hwmon 0 temp 1}<70}${color3}${else}\
${color3}${if_match ${hwmon 0 temp 1}<90}${color4}${else}\
${color4}${endif}${endif}${endif}${endif}+${hwmon 0 temp 1}c°${goto 225}${color5}Coeur2:${if_match ${hwmon 1 temp 3}<20}${color1}${else}\
${color1}${if_match ${hwmon 1 temp 3}<30}${color2}${else}\
${color2}${if_match ${hwmon 1 temp 3}<70}${color3}${else}\
${color3}${if_match ${hwmon 1 temp 3}<90}${color4}${else}\
${color4}${endif}${endif}${endif}${endif}+${hwmon temp 2}c°
${if_match ${cpu}< 20} ${color2} ${else}\
${color1}${if_match ${cpu}< 50}${color1}${else}\
${color2}${if_match ${cpu}< 70}${color3}${else}\
${color3}${if_match ${cpu}< 90}${color4}${else}\
${color4}${endif}${endif}${endif}${endif}${cpugraph cpu0 14,85}${cpugraph cpu1 14,85}${cpugraph cpu2 14,85}${cpugraph cpu3 14,85}
${color3}${font fontawesome:pixelsize=20}1:${font sans-serif:bold:size=12}${goto 35}${if_match ${cpu} > 0}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 5}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 10}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 15}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 20}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 25}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 30}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 35}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 40}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 45}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 50}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 55}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 60}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 65}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 70}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 75}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 80}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 85}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 90}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu0} > 95}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu0} == 100}${color5}${else}${color}${endif}▪
${color3}${font fontawesome:pixelsize=20}2:${font sans-serif:bold:size=12}${goto 35}${if_match ${cpu} > 0}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 5}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 10}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 15}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 20}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 25}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 30}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 35}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 40}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 45}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 50}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 55}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 60}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 65}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 70}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 75}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 80}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 85}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 90}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu1} > 95}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu1} == 100}${color5}${else}${color}${endif}▪
${color3}${font fontawesome:pixelsize=20}3:${font sans-serif:bold:size=12}${goto 35}${if_match ${cpu} > 0}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 5}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 10}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 15}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 20}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 25}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 30}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 35}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 40}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 45}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 50}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 55}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 60}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 65}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 70}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 75}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpo2} > 80}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 85}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 90}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu2} > 95}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu2} == 100}${color5}${else}${color}${endif}▪
${color3}${font fontawesome:pixelsize=20}4:${font sans-serif:bold:size=12}${goto 35}${if_match ${cpu} > 0}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 5}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 10}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 15}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 20}${color2}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 25}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 30}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 35}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 40}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 45}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 50}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 55}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 60}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 65}${color1}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 70}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 75}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpo3} > 80}${color3}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 85}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 90}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu3} > 95}${color5}${else}${color}${endif}▪\
${if_match ${cpu cpu3} == 100}${color5}${else}${color}${endif}▪
${if_match ${cpu}< 20} ${color1} ${else}\
${color1}${if_match ${cpu}< 50}${color2}${else}\
${color2}${if_match ${cpu}< 90}${color3}${else}\
${color3}${if_match ${cpu}< 100}${color4}${else}\
${color white}${hr}
${color orange}Nom ${font Abstract:size=10}${alignr} PID CPU MEM
${font Hack:size=8}${color lightgrey}${top name 1} ${alignr}${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey}${top name 2}${alignr}${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3}${alignr}${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4}${alignr}${top pid 4} ${top cpu 4} ${top mem 4}
${font Hack:size=10}${color orange}Processus: ${color}${processes}
${color white}${hr}
${font Hack:size=12}${color orange}RAM: ${color white}${mem}/${memmax}/
${memperc}% ${font sans-serif:bold:size=12}${if_match ${memperc} > 10}${color2}${else}${color}${endif}▪\
${if_match ${memperc} > 15}${color2}${else}${color}${endif}▪\
${if_match ${memperc} > 20}${color2}${else}${color}${endif}▪\
${if_match ${memperc} > 25}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 30}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 35}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 40}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 45}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 50}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 55}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 60}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 65}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 70}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 75}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 80}${color5}${else}${color}${endif}▪\
${if_match ${memperc} > 85}${color5}${else}${color}${endif}▪\
${if_match ${memperc} > 90}${color5}${else}${color}${endif}▪\
${if_match ${memperc} > 95}${color5}${else}${color}${endif}▪\
${if_match ${memperc} == 100}${color5}${else}${color}${endif}▪
${color white}${hr}
${font Hack:size=12}${color orange}SWAP: ${color white}${mem}/${swapmax}/${swapperc}
% ${font sans-serif:bold:size=12}${if_match ${swapperc} > 10}${color2}${else}${color}${endif}▪\
${if_match ${swapperc} > 85}${color5}${else}${color}${endif}▪\
${if_match ${swapperc} > 90}${color5}${else}${color}${endif}▪\
${if_match ${swapperc} > 95}${color5}${else}${color}${endif}▪\
${if_match ${swapperc} == 100}${color5}${else}${color}${endif}▪
${color white}${hr}
${font Hack:size=12}${color orange}SSD: ${color white}${hddtemp /dev/sda}°C ${if_match ${hddtemp /dev/sda} > 10}${color2}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 80}${color5}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 85}${color5}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 90}${color5}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} > 95}${color5}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sda} == 100}${color5}${else}${color}${endif}▪
${font Hack:size=12}${color orange}/: ${font Hack:size=12} ${color green}${fs_used /}/${color red}${fs_size /} ${if_match ${fs_used /home} > 10}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 15}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 20}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 80}${color5}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 85}${color5}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 90}${color5}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} > 95}${color5}${else}${color}${endif}▪\
${if_match ${fs_used_perc /} == 100}${color5}${else}${color}${endif}▪
${font Hack:size=12}${color orange}/home: ${font Hack:size=12} ${color green}${fs_used /home}/${color red}${fs_size /home} ${if_match ${fs_used /home} > 10}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 15}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 20}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 85}${color5}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 90}${color5}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 95}${color5}${else}${color}${endif}▪
${font Hack:size=12}${color orange}HDD: ${color white}${hddtemp /dev/sdb}°C ${if_match ${hddtemp /dev/sdb} > 10}${color2}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 15}${color2}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 20}${color2}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 25}${color1}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 80}${color5}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 85}${color5}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 90}${color5}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} > 95}${color5}${else}${color}${endif}▪\
${if_match ${hddtemp /dev/sdb} == 100}${color5}${else}${color}${endif}▪
${font Hack:size=12}${color orange}musique-et-autre: ${font Hack:size=12} ${color green}${fs_used /media/musique-et-autre}/${color red}${fs_size /media/musique-et-autre} ${if_match ${fs_used /media/musique-et-autre} > 10}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc /media/musique-et-autre} > 15}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc /media/musique-et-autre} > 20}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc /media/musique-et-autre} > 25}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 30}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 35}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 40}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 45}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 50}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 55}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 60}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 65}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 70}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 75}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 80}${color5}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 85}${color5}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 90}${color5}${else}${color}${endif}▪\
${if_match ${fs_used_perc /home} > 95}${color5}${else}${color}${endif}▪
${color white}${hr}
${color orange}Adresse locale: ${color green}${addr enp3s0}
${color orange} ${color green}entrant▼${downspeed enp3s0}${color green} sortant▲${upspeed enp3s0}
${color white}${hr}
${color white}Carte Graphique: ${color yellow}${font Hack:size=8}Nvidia/GeForce 9400 GT
${goto 55}${font Hack:size=12}${color green}${nvidia temp} °C
${color white}${hr}${if_running clementine}
${if_match "Playing" == "${execi 10 ~/.conky/clementine status}"}MUSIQUE ${font Hack:size=8}(clementine)
${font Hack:size=10}${color white}Artiste: ${color red}${execi 10 ~/.conky/clementine artist}
${color white}Album: ${color yellow}${execi 10 ~/.conky/clementine album}
${color white}Titre: ${color green}${execi 10 ~/.conky/clementine title}
${color green}Durée:${color green}${execi 10 ~/.conky/clementine getlength}${execibar 2 ~/.conky/clementine progress}
${endif}
]]
En ligne
horloge-rev.lua
démarrez conky-circles-dark-blue dans le terminal avec la commande
*****Le dossier compressé*****
Trésorier Debian-Facile
---
Association Debian Facile -- Les cahiers du débutant -- Iso Debian-Facile
Hors ligne
En ligne