====== conky leds ====== {{https://debian-facile.org/images/file-R47596b69e98c67db53b5407c7183c5bd.png}} --[[ conky_leds adpatation lua par Toulibre (merci@lui) source : https://arpinux.org/public/conky/leds.tgz mods : https://debian-facile.org/viewtopic.php?pid=346357#p346357 set own_window_type from 'desktop' to 'override' to use in i3wm ]] conky.config = { alignment = 'top_left', border_inner_margin = 0, border_outer_margin = 0, cpu_avg_samples = 2, default_color = '2e3440', double_buffer = true, use_xft = true, font = 'Hack:size=14', xftalpha = 0.5, gap_x = 10, gap_y = 10, imlib_cache_size =0, minimum_width = 260, minimum_height = 96, net_avg_samples = 2, no_buffers = true, override_utf8_locale = true, own_window_argb_visual = true, own_window_argb_value = 164, own_window = true, own_window_type = 'desktop', own_window_transparent = false, own_window_hints = 'undecorated,below,sticky,skip_pager,skip_taskbar', text_buffer_size = 2048, total_run_times = 0, update_interval = 1.0, color1 = 'D7D7D7', color2 = 'DB8100', color3 = 'A3A3A3', color4 = '26DB00', color5 = 'DB0500', color6 = '0068DB', draw_shades = false, draw_outline = false, default_shade_color = '222222', if_up_strictness = 'address', } conky.text = [[ ${voffset -5}${if_match ${battery_percent BAT0} < 10}${color5}${else}${color3}${endif}\ ${goto 5}${font forkawesome:pixelsize=12}$font\ ${voffset -6}${goto 30}${if_match ${battery_percent BAT0} > 0}${color5}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 10}${color5}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 15}${color2}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 20}${color2}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 25}${color2}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 30}${color1}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 35}${color1}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 40}${color1}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 45}${color1}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 50}${color1}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 55}${color1}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 60}${color1}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 65}${color1}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 70}${color1}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 75}${color1}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 80}${color1}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 85}${color4}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 90}${color4}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} > 95}${color4}${else}${color}${endif}▪\ ${if_match ${battery_percent BAT0} == 100}${color6}${else}${color}${endif}▪ ${voffset -5}${color3}${goto 5}${font forkawesome:pixelsize=12}${font}${goto 30}\ ${voffset -6}${if_match ${time %H%M} > 0}${color6}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 112}${color4}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 224}${color4}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 336}${color4}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 448}${color1}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 600}${color1}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 712}${color1}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 824}${color1}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 936}${color1}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 1048}${color1}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 1200}${color1}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 1312}${color1}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 1424}${color1}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 1536}${color1}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 1700}${color1}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 1812}${color1}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 1924}${color4}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 2048}${color4}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 2200}${color4}${else}${color}${endif}▪\ ${if_match ${time %H%M} > 2312}${color6}${else}${color}${endif}▪ ${voffset -5}${if_match ${fs_used_perc} > 95}${color5}${else}${color3}${endif}\ ${goto 5}${font forkawesome:pixelsize=12}$font${goto 30}\ ${voffset -6}${if_match ${fs_used_perc} > 0}${color6}${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}▪ ${voffset -5}${color3}${goto 5}${font forkawesome:pixelsize=12}${font}\ ${voffset -6}${goto 30}${if_match ${memperc} > 0}${color6}${else}${color}${endif}▪\ ${if_match ${memperc} > 10}${color4}${else}${color}${endif}▪\ ${if_match ${memperc} > 15}${color4}${else}${color}${endif}▪\ ${if_match ${memperc} > 20}${color4}${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}${color2}${else}${color}${endif}▪\ ${if_match ${memperc} > 85}${color2}${else}${color}${endif}▪\ ${if_match ${memperc} > 90}${color2}${else}${color}${endif}▪\ ${if_match ${memperc} > 95}${color5}${else}${color}${endif}▪\ ${if_match ${memperc} == 100}${color5}${else}${color}${endif}▪ ${voffset -5}${color3}${goto 5}${font forkawesome:pixelsize=12}$font\ ${voffset -6}${goto 30}${if_match ${cpu} > 0}${color6}${else}${color}${endif}▪\ ${if_match ${cpu} > 10}${color4}${else}${color}${endif}▪\ ${if_match ${cpu} > 15}${color4}${else}${color}${endif}▪\ ${if_match ${cpu} > 20}${color4}${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}${color1}${else}${color}${endif}▪\ ${if_match ${cpu} > 75}${color1}${else}${color}${endif}▪\ ${if_match ${cpu} > 80}${color2}${else}${color}${endif}▪\ ${if_match ${cpu} > 85}${color2}${else}${color}${endif}▪\ ${if_match ${cpu} > 90}${color2}${else}${color}${endif}▪\ ${if_match ${cpu} > 95}${color5}${else}${color}${endif}▪\ ${if_match ${cpu} == 100}${color5}${else}${color}${endif}▪\ ]]