
The way I understand it though - and I may be wrong but it looks like it - is, exec keeps executing at every cicle (1 sec by my update_interval), execi at defined intervals.
So I put 100 minutes as if to say, don't bother. ;·)
${font ubuntu:bold:size=8}Kernel: ${alignr}${color 607f96}${execi 6000 inxi -c 0 -Sx | awk '/System:/ {print substr($5,1,8),$6}'}${color} ${voffset -2}Distro: ${alignr}${color 607f96}${execi 6000 lsb_release -d | awk '/Description:/ {print $2,$3,$4}'}${color} ${voffset -2}${alignr}Up: ${color 607f96}${uptime}${color} ${voffset -15}KDE: ${color 607f96}${execi 6000 inxi -c 0 -Sx | awk '/Desktop:/ {print $4,$5,$6}'}${color} ${if_match "$uptime" >="1"}${voffset -2}Load avg.: (1m) ${voffset 1}${color 607f96}${exec uptime | awk '/average/ {print $8" ",$9," "$10}'}${color}${else}${if_match "$uptime" <="1"}${voffset -2}Load avg.: (1m) ${voffset 1}${color 607f96}${exec uptime | awk '/average/ {print $9" ",$10," "$11}'}${color}${endif}${endif} ${voffset -15}${offset 115}(5m)${offset 28}(15m)
conky.text = [[ ${exec uname -a | awk '{ print substr($3,1,9)" "$12 }'} ${exec kf5-config --version | awk '/Qt/ { print $2}'} ]]
${font ubuntu:bold:size=8}Kernel: ${alignr}${color 607f96}${execi 6000 inxi -c 0 -Sx | awk '/System:/ {print substr($5,1,8),$6}'}${color} ${voffset -2}Distro: ${alignr}${color 607f96}${execi 6000 lsb_release -d | awk '/Description:/ {print $2,$3,$4}'}${color} ${voffset -2}${alignr}Up: ${color 607f96}${uptime}${color} ${voffset -15}KDE: ${color 607f96}${execi 6000 inxi -c 0 -Sx | awk '/Desktop:/ {print $4,$5,$6}'}${color} ${voffset -2}Load avg.: (1m) ${voffset 1}${color 607f96}${exec uptime | awk '/user/ {print $8" ",$9," "$10}'}${color} ${voffset -15}${offset 115}(5m)${offset 28}(15m) ${voffset -6}$stippled_hr${voffset 78}
conky.config = { -- comments now start this way instead of with a # :) -- all config items require a trailing comma -- all string variables are enclosed in single quotes -- numbers and boolean operators don't get single quotes but yes = true and no = false now -- i'm not sure whether minimum_size = '220 5', is a string or not - if it doesn't work try without single quotes. background = false, use_xft = true, font = 'Ubuntu Mono:size=9', update_interval = 3.0, total_run_times = 0, own_window = true, own_window_type = 'dock', own_window_argb_visual = true, own_window_transparent = true, own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', double_buffer = true, -- minimum_size = '220 5', maximum_width = 220, draw_shades = false, draw_outline = false, draw_borders = false, draw_graph_borders = true, default_color = 'gray', -- default_shade_color = 'black', alignment = 'top_right', gap_x = 12, gap_y = 35, cpu_avg_samples = 2, override_utf8_locale = true, uppercase = true, -- set to yes if you want all text to be in uppercase -- display LDVS-0 } -- text goes here. no changes to text format except opening and closing commands. conky.text = [[ ${color gray}SYSTEM ${hr 1}${color} Hostname: $alignr$nodename Kernel: $alignr$kernel Release: $alignr${execi 300 lsb_release -rs | awk '{print $1}'} Codename: $alignr${execi 300 lsb_release -cs | awk '{print $1}'} Desktop: ${alignr}KDE ${execi 300 kf5-config -v | grep KDE | awk '{print $3}'} Uptime: $alignr$uptime ${color 00af00}NVidia${color} ${execi 300 nvidia-settings -q gpus | grep '0] (' | cut -d '(' -f 2,2 | sed -e 's/.\{1\}$//'} GPU Temperature : ${execi 2 nvidia-settings -q gpucoretemp | grep -m 1 Attribute | awk '{print $4}' | sed -e 's/\.//'}°C CPU: ${execi 300 cat /proc/cpuinfo | grep -m1 name | cut -c 14-54 | fmt -w 25 -g 25} Avgerage: ${execi 8 sensors | grep -A 0 'temp1' | cut -c14-19 | sed '/^$/d'}°C $alignr${execi 8 sensors -f | grep -A 0 'temp1' | cut -c14-19 | sed '/^$/d'}°F Core 1 : ${execi 8 sensors | grep -A 0 'Core 0' | cut -c14-19 | sed '/^$/d'}°C $alignr${execi 8 sensors -f | grep -A 0 'Core 0' | cut -c14-19 | sed '/^$/d'}°F #Core 2 : ${execi 8 sensors | grep -A 0 'Core 1' | cut -c14-19 | sed '/^$/d'}°C $alignr${execi 8 sensors -f | grep -A 0 'Core 1' | cut -c14-19 | sed '/^$/d'}°F #Core 3 : ${execi 8 sensors | grep -A 0 'Core 2' | cut -c14-19 | sed '/^$/d'}°C $alignr${execi 8 sensors -f | grep -A 0 'Core 2' | cut -c14-19 | sed '/^$/d'}°F #Core 4 : ${execi 8 sensors | grep -A 0 'Core 3' | cut -c14-19 | sed '/^$/d'}°C $alignr${execi 8 sensors -f | grep -A 0 'Core 3' | cut -c14-19 | sed '/^$/d'}°F Processes: ${alignr}$processes ($running_processes running) Load: ${alignr}$loadavg CPU: ${alignr}${freq} MHz ${cpugraph cpu0 20,120 37c013 c02313 -tl} #CPU1 ${alignr}${cpu cpu1}% #${color 00af00}${cpubar 4 cpu1}${color} #CPU2 ${alignr}${cpu cpu2}% #${color 00af00}${cpubar 4 cpu2}${color} #CPU3 ${alignr}${cpu cpu3}% #${color 00af00}${cpubar 4 cpu3}${color} #CPU4 ${alignr}${cpu cpu4}% #${color 00af00}${cpubar 4 cpu4}${color} Ram ${alignr}$mem / $memmax ($memperc%) ${color 00af00}${membar 4}${color} swap ${alignr}$swap / $swapmax ($swapperc%) ${color 00af00}${swapbar 4}${color} Highest CPU $alignr CPU% MEM% ${color E40016}${top name 1}$alignr${top cpu 1}${top mem 1}${color} ${color d2d00a}${top name 2}$alignr${top cpu 2}${top mem 2}${color} ${color 0538ab}${top name 3}$alignr${top cpu 3}${top mem 3}${color} Highest MEM $alignr CPU% MEM% ${color E40016}${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1}${color} ${color d2d00a}${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2}${color} ${color 0538ab}${top_mem name 3}$alignr${top_mem cpu 3}${top_mem mem 3}${color} ${color gray}Filesystem ${hr 1}${color} Root: ${alignr}${fs_free /} / ${fs_size /} ${color 00af00}${fs_bar 4 /}${color} Disk: ${alignr}${fs_free /mnt/btrfs} / ${fs_size /mnt/btrfs} ${color 00af00}${fs_bar 4 /mnt/btrfs}${color} ${color gray}NETWORK ${hr 1}${color} Down ${downspeed wlp4s0} k/s ${alignr}Up ${upspeed wlp4s0} k/s ${downspeedgraph wlp4s0 25,107 0000ff 00ff00 scale -t -l}${alignr}${upspeedgraph wlp4s0 25,107 d0c40c 6b0853} Total ${totaldown wlp4s0} ${alignr}Total ${totalup wlp4s0} ${image /home/vinny/Downloads/conkyrc3.png -p 50,780 -s 125x125} ${image /home/vinny/Downloads/banner1.png -p 0,910 -s 234x30} ]]
Leave a comment: