Post a screenshot and the config of your Conky

rado84

Well-Known Member
Joined
Feb 25, 2019
Messages
863
Reaction score
714
Credits
5,825
tKDbETW.png


Code:
conky.config = {
-- *********************
-- Conky theme by Valso (rado84)
-- *********************


    background = false,
    double_buffer = true,

    alignment = 'top_right',

    border_width = 0,
    cpu_avg_samples = 2,
    default_color = 'color2',
    default_outline_color = 'black',
    default_shade_color = 'black',
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = true,
    draw_shades = false,

    gap_x = 4,
    gap_y = 4,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = false,

    own_window = true,
    own_window_type = 'dock',--types: normal, desktop, dock, override, panel
    own_window_transparent = false,
    own_window_colour = '000000',
    own_window_argb_visual = true,
    own_window_argb_value = 10,
    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',

    minimum_width = 230, minimum_height = 300,
    stippled_borders = 0,
    update_interval = 2.0,
    uppercase = false,
    use_spacer = 'none',

    show_graph_scale = false,
    show_graph_range = false,

    use_xft = true,
    xftalpha = 0.1,
-- xftfont Open Sans Condensed:size=15
    color0 = '#FFFFFF',--white
    color1 = '#FF0000',--red
    color2 = '#E2B582',--baige
    color3 = '#00BF00',--nVidia green
    color4 = '#00BFFF',--sky blue
    color5 = '#402B2B',--brown
    color6 = '#E57231',--orange
    color7 = '#A17FFF',--light purple
    color8 = '#C2C2C2',--silver
    color9 = '#FF9946',--light orange

};

conky.text = [[
${color4}${font Open Sans Condensed:style=Bold:pixelsize=22}${alignc}Intel Core i7-4770
${color9}${font Open Sans Condensed:style=Bold:pixelsize=22}CPU Load ${alignr}${cpu cpu0}%
${color2}CPU Temp ${color2}${alignr}${hwmon 0 temp 1}° C
#${color4}CPU Fan  ${alignr}${execi 2 sensors | grep 'fan2' | awk {'print $2'}} RPM
${color7}CPU Freq ${color7}${alignr}${freq_g} GHz

${color3}${font Open Sans Condensed:style=Bold:pixelsize=22}${alignc}nVIDIA GTX 1660 Ti 6GB
${color9}GPU Load ${alignr}${nvidia gpuutil}%
${color2}GPU Temp ${alignr}${execi 60 nvidia-settings -query GPUCoreTemp| grep gpu | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'}°C
${color4}GPU Fan ${alignr}${execi 10 nvidia-settings -q [fan:0]/GPUCurrentFanSpeedRPM -t} RPM
${color7}GPU Driver ${alignr}${execi 60 nvidia-smi --query-gpu=driver_version --format=csv,noheader}

${color9}${font Open Sans Condensed:style=Bold:pixelsize=22}${alignc}KERNEL: ${color0}${font Open Sans Condensed:style=Bold:pixelsize=22}${alignc}${kernel}

${color4}RAM: ${color4}${alignr}${mem} ${color0}/ ${color4}${memmax}
#${color1}${membar 25}
${if_running audacious} $alignc ${color0}Audacious running ${else}Audacious not running$endif
${color9}${top_mem name 1} $alignr ${top_mem mem_res 1}
${color9}${top_mem name 2} $alignr ${top_mem mem_res 2}
${color9}${top_mem name 3} $alignr ${top_mem mem_res 3}
${color9}${top_mem name 4} $alignr ${top_mem mem_res 4}
${color9}${top_mem name 5} $alignr ${top_mem mem_res 5}
${color9}${top_mem name 6} $alignr ${top_mem mem_res 6}
${color9}${top_mem name 7} $alignr ${top_mem mem_res 7}
#${color9}${top_mem name 8} $alignr ${top_mem mem_res 8}
#${color9}${top_mem name 9} $alignr ${top_mem mem_res 9}
#${color9}${top_mem name 10} $alignr ${top_mem mem_res 10}
#10 processes is the limit

${color9}Storages: Used   ${alignr}Free
${color3}arch-120: ${fs_used /mnt/}    ${alignr}${fs_free /mnt/}
${color3}ext4-1TB: ${fs_used /media/1000GB/} ${alignr}${fs_free /media/1000GB/}
${color3}ext4-4TB: ${fs_used /media/4000GB/} ${alignr}${fs_free /media/4000GB/}
${color1}ntfs-win: ${fs_used /run/media/rado/Windows 10} ${alignr}${fs_free /run/media/rado/Windows 10}
${color1}ntfs-390: ${fs_used /media/390GB/} ${alignr}${fs_free /media/390GB/}
${color1}ntfs-500: ${fs_used /media/500GB/} ${alignr}${fs_free /media/500GB/}
${color9}${alignc}Total: 6.1 TB

${alignc}${color0}D: ${color9}${downspeed enp0s25} ${color0} ${color0}U: ${color9}${upspeed enp0s25}
]];
 


I'll set this as a sticky for a few days, or until someone reminds me to remove said sticky status.
 
conkyrc:
Code:
conky.config = {

background = true,
use_xft = true,
font = '123:size=8',
xftalpha = 0.1,
update_interval = 0.5,
total_run_times = 0,
own_window = true,
own_window_type = 'normal',
own_window_transparent = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
double_buffer = true,
minimum_width = 250,
minimum_height = 5,
maximum_width = 400,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
default_color = 'gray',
default_shade_color = 'red',
default_outline_color = 'green',
alignment = 'top_right',
gap_x = 10,
gap_y = 10,
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
net_avg_samples = 1,
override_utf8_locale = false,
use_spacer = 'right'

}

conky.text = [[

$color${font}${font Open Sans:size=44}$alignc${time %H:%M}$font$color${font Open Sans:size=15}
$alignc${time %a},${time %d %b %Y}$font$color

${font Arial:size=20}$alignc${color #0040FF} Debian Unstable ${color #0040FF}
${voffset -90}
${color #505050}
${font}
${font Arial:bold:size=10}${color #00AAFF}SYSTEM ${color #0000AA} ${hr 2}
$font${color #505050}$sysname $kernel $alignr $machine
Frequency ${color #AAAAAA}$alignr${freq_g cpu0}Ghz${color #505050}
Uptime ${color #AAAAAA}$alignr${uptime}${color #505050}
File System $alignr${fs_type}

${font Arial:bold:size=10}${color #00AAFF}CPU ${color #0000AA}${hr 2}
$font${color #505050}Temp: $alignr ${color #AAAAAA}${exec /usr/bin/vcgencmd measure_temp | cut -c6-9} C
$font${color #505050}CPU1  ${color #AAAAAA}${cpu cpu1}%${color #505050} ${cpubar cpu1}
CPU2  ${color #AAAAAA}${cpu cpu2}%${color #505050} ${cpubar cpu2}
CPU3  ${color #AAAAAA}${cpu cpu3}%${color #505050} ${cpubar cpu3}
CPU4  ${color #AAAAAA}${cpu cpu4}%${color #505050} ${cpubar cpu4}

${font Arial:bold:size=10}${color #00AAFF}MEMORY ${color #0000AA}${hr 2}
$font${color #505050}MEM $alignc ${color #AAAAAA}$mem${color #505050} / $memmax $alignr $memperc%
$membar
$font${color #505050}SWAP $alignc ${color #AAAAAA}$swap${color #505050} / $swapmax $alignr $swapperc%
$swapbar

${font Arial:bold:size=10}${color #00AAFF}Storage ${color #0000AA}${hr 2}
$font${color #505050}/home $alignc ${color #AAAAAA}${fs_used /home} / ${fs_size /home}${color #505050} $alignr ${fs_free_perc /home}%
${fs_bar /home}

${font Arial:bold:size=10}${color #00AAFF}Weather${color #0040FF} ${execi 300 /home/pi/weather.sh 37058}

${font Arial:bold:size=10}${color #00AAFF}TOP PROCESSES ${color #0000AA}${hr 2}
${color #505050}$font${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %
$font${top_mem name 5}${alignr}${top mem 5} %

${font Arial:bold:size=10}${color #00AAFF}NETWORK ${color #0000AA}${hr 2}
$font${color #505050}IP on wlan0 $alignr ${color #AAAAAA}${addr wlan0}

${color #505050}Down $alignr ${color #AAAAAA}${downspeed wlan0}
${color #505050}Up $alignr ${color #AAAAAA}${upspeed wlan0}

${color #505050}Downloaded: $alignr  ${color #AAAAAA}${totaldown wlan0}
${color #505050}Uploaded: $alignr  ${color #AAAAAA}${totalup wlan0}

$font${color #505050}IP on eth0 $alignr ${color #AAAAAA}${addr eth0}

${color #505050}Down $alignr ${color #AAAAAA}${downspeed eth0}
${color #505050}Up $alignr ${color #AAAAAA}${upspeed eth0}

${color #505050}Downloaded: $alignr  ${color #AAAAAA}${totaldown eth0}
${color #505050}Uploaded: $alignr  ${color #AAAAAA}${totalup eth0}


]]


weather.sh I found it on the Arch forums
2022-06-04_07-31.png

Code:
#!/bin/sh
#AccuWeather (r) RSS weather tool for conky
#
#USAGE: weather.sh <locationcode>
#
#(c) Michael Seiler 2007

METRIC=0 #Should be 0 or 1; 0 for F, 1 for C

if [ -z $1 ]; then
    echo
    echo "USAGE: weather.sh <locationcode>"
    echo
    exit 0;
fi

curl -s http://rss.accuweather.com/rss/liveweather_rss.asp\?metric\=${METRIC}\&locCode\=$1 | perl -ne 'if (/Currently/) {chomp;/\<title\>Currently: (.*)?\<\/title\>/; print "$1"; }'
 
tKDbETW.png


Code:
conky.config = {
-- *********************
-- Conky theme by Valso (rado84)
-- *********************


    background = false,
    double_buffer = true,

    alignment = 'top_right',

    border_width = 0,
    cpu_avg_samples = 2,
    default_color = 'color2',
    default_outline_color = 'black',
    default_shade_color = 'black',
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = true,
    draw_shades = false,

    gap_x = 4,
    gap_y = 4,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = false,

    own_window = true,
    own_window_type = 'dock',--types: normal, desktop, dock, override, panel
    own_window_transparent = false,
    own_window_colour = '000000',
    own_window_argb_visual = true,
    own_window_argb_value = 10,
    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',

    minimum_width = 230, minimum_height = 300,
    stippled_borders = 0,
    update_interval = 2.0,
    uppercase = false,
    use_spacer = 'none',

    show_graph_scale = false,
    show_graph_range = false,

    use_xft = true,
    xftalpha = 0.1,
-- xftfont Open Sans Condensed:size=15
    color0 = '#FFFFFF',--white
    color1 = '#FF0000',--red
    color2 = '#E2B582',--baige
    color3 = '#00BF00',--nVidia green
    color4 = '#00BFFF',--sky blue
    color5 = '#402B2B',--brown
    color6 = '#E57231',--orange
    color7 = '#A17FFF',--light purple
    color8 = '#C2C2C2',--silver
    color9 = '#FF9946',--light orange

};

conky.text = [[
${color4}${font Open Sans Condensed:style=Bold:pixelsize=22}${alignc}Intel Core i7-4770
${color9}${font Open Sans Condensed:style=Bold:pixelsize=22}CPU Load ${alignr}${cpu cpu0}%
${color2}CPU Temp ${color2}${alignr}${hwmon 0 temp 1}° C
#${color4}CPU Fan  ${alignr}${execi 2 sensors | grep 'fan2' | awk {'print $2'}} RPM
${color7}CPU Freq ${color7}${alignr}${freq_g} GHz

${color3}${font Open Sans Condensed:style=Bold:pixelsize=22}${alignc}nVIDIA GTX 1660 Ti 6GB
${color9}GPU Load ${alignr}${nvidia gpuutil}%
${color2}GPU Temp ${alignr}${execi 60 nvidia-settings -query GPUCoreTemp| grep gpu | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'}°C
${color4}GPU Fan ${alignr}${execi 10 nvidia-settings -q [fan:0]/GPUCurrentFanSpeedRPM -t} RPM
${color7}GPU Driver ${alignr}${execi 60 nvidia-smi --query-gpu=driver_version --format=csv,noheader}

${color9}${font Open Sans Condensed:style=Bold:pixelsize=22}${alignc}KERNEL: ${color0}${font Open Sans Condensed:style=Bold:pixelsize=22}${alignc}${kernel}

${color4}RAM: ${color4}${alignr}${mem} ${color0}/ ${color4}${memmax}
#${color1}${membar 25}
${if_running audacious} $alignc ${color0}Audacious running ${else}Audacious not running$endif
${color9}${top_mem name 1} $alignr ${top_mem mem_res 1}
${color9}${top_mem name 2} $alignr ${top_mem mem_res 2}
${color9}${top_mem name 3} $alignr ${top_mem mem_res 3}
${color9}${top_mem name 4} $alignr ${top_mem mem_res 4}
${color9}${top_mem name 5} $alignr ${top_mem mem_res 5}
${color9}${top_mem name 6} $alignr ${top_mem mem_res 6}
${color9}${top_mem name 7} $alignr ${top_mem mem_res 7}
#${color9}${top_mem name 8} $alignr ${top_mem mem_res 8}
#${color9}${top_mem name 9} $alignr ${top_mem mem_res 9}
#${color9}${top_mem name 10} $alignr ${top_mem mem_res 10}
#10 processes is the limit

${color9}Storages: Used   ${alignr}Free
${color3}arch-120: ${fs_used /mnt/}    ${alignr}${fs_free /mnt/}
${color3}ext4-1TB: ${fs_used /media/1000GB/} ${alignr}${fs_free /media/1000GB/}
${color3}ext4-4TB: ${fs_used /media/4000GB/} ${alignr}${fs_free /media/4000GB/}
${color1}ntfs-win: ${fs_used /run/media/rado/Windows 10} ${alignr}${fs_free /run/media/rado/Windows 10}
${color1}ntfs-390: ${fs_used /media/390GB/} ${alignr}${fs_free /media/390GB/}
${color1}ntfs-500: ${fs_used /media/500GB/} ${alignr}${fs_free /media/500GB/}
${color9}${alignc}Total: 6.1 TB

${alignc}${color0}D: ${color9}${downspeed enp0s25} ${color0} ${color0}U: ${color9}${upspeed enp0s25}
]];
Hay what is conky
 
 
Screenshot from 2022-06-18 07-10-01.png


The three bars at the top are so I can monitor CPU DL UL while browsing the net.

bars.png


Code:
conky.config = {
        alignment = 'top_left',
        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 = 'DejaVu Sans Mono:size=10',
        --font = 'DejaVu Sans Book:size=12',
    font = 'font urw gotic l:book:size=14',
        gap_x = 20,
        gap_y = 8,
        minimum_height = 5,
        minimum_width = 220,
        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_count = 0,
        own_window_type = 'dock',
        own_window_transparent = true,
        own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
        stippled_borders = 0,
        update_interval = 1,
        uppercase = false,
        use_spacer = 'none',
        show_graph_scale = false,
        show_graph_range = false,
        short_units = true,
    temperature_unit = 'fahrenheit',
    color0 = '666666',
    color1 = '999999',
    color2 = 'cccccc',
}

conky.text = [[
${color2}${goto 7}${cpubar cpu0 10,75}${goto 92}${downspeedgraph eno1 10,75}${goto 177}${upspeedgraph eno1 10,75}${color0}
#${color1}${cpubar cpu1 10,30}${goto 45}${cpubar cpu2 10,30}${goto 85}${cpubar cpu3 10,30}${goto 125}${cpubar cpu4 10,30}${goto 165}${membar 10,30}${goto 205}${downspeedgraph eno1 10,30}${goto 245}${upspeedgraph eno1 10,30}${color0}
#${color2}${cpubar cpu1 10,30}${goto 45}${cpubar cpu2 10,30}${goto 85}${cpubar cpu3 10,30}${goto 125}${cpubar cpu4 10,30}${goto 165}${membar 10,30}${goto 205}${downspeedgraph wlp3s0 10,30}${goto 245}${upspeedgraph wlp3s0 10,30}${color0}

#${alignc}${color1}${execi 10000 awk -F= '/TION/ {print $2}' /etc/lsb-release |sed 's/"//g'}${color0}
$alignc ${color1}Manjaro Xfce ${execi 999999 lsb_release -rs}${color0}
$alignc ${color1}${kernel}${color0}

#$alignc Time
${color1}${time %A} ${alignr}${time %B %e}${color0}
Current Time ${color1}${alignr}${time %l:%M %p}${color0}
Uptime ${color1}${alignr}${uptime_short}${color0}
Julian ${color1}${alignr}${time %j}${color0}

#$alignc CPU: ${color1}${hwmon 1 temp 1}°F ${color0}
$alignc CPU: ${color1}${hwmon 1 temp 1}${hwmon 0 temp 1}° ${color0}

CPU1: ${color1}${cpu cpu1}%${alignr}${color0}${cpubar cpu1 12,70}${color0}
CPU2: ${color1}${cpu cpu2}%${alignr}${color0}${cpubar cpu2 12,70}${color0}
CPU3: ${color1}${cpu cpu3}%${alignr}${color0}${cpubar cpu3 12,70}${color0}
CPU4: ${color1}${cpu cpu4}%${alignr}${color0}${cpubar cpu4 12,70}${color0}

$alignc RAM
$alignc ${color1}${mem} / ${memfree} / ${memmax} ${color0}

$alignc HDD
$alignc ${color1}${fs_used /} / ${fs_free /} / ${fs_size /} ${color0}
$alignc ${color0}${fs_used /mnt/Storage} / ${fs_free /mnt/Storage} / ${fs_size /mnt/Storage} ${color0}

$alignc PROCESSES
${color1}${top_mem name 1}${alignr}${top mem 1}%${color0}
${color1}${top_mem name 2}${alignr}${top mem 2}%${color0}
${color1}${top_mem name 3}${alignr}${top mem 3}%${color0}
${color1}${top_mem name 4}${alignr}${top mem 4}%${color0}
${color1}${top_mem name 5}${alignr}${top mem 5}%${color0}
${color1}${top_mem name 6}${alignr}${top mem 6}%${color0}
${color1}${top_mem name 7}${alignr}${top mem 7}%${color0}
${color1}${top_mem name 8}${alignr}${top mem 8}%${color0}
${color1}${top_mem name 9}${alignr}${top mem 9}%${color0}
${color1}${top_mem name 10}${alignr}${top mem 10}%${color0}

$alignc DISK I/O
#${color0}Read: ${color1}${diskio_read /dev/sda1}${alignr}${color0}${diskiograph_read 12,70}${color0}
#${color0}Write: ${color1}${diskio_write /dev/sda1}${alignr}${color0}${diskiograph_write 12,70}${color0}
${color0}${diskiograph_read 12,70}${alignr}${diskiograph_write 12,70}${color0}
    
$alignc NETWORK
DL: ${color1}${downspeed eno1}/s${alignr}${color0}${downspeedgraph eno1 12,70}${color0}
UL: ${color1}${upspeed eno1}/s${alignr}${color0}${upspeedgraph eno1 12,70}${color0}
#DL: ${color1}${downspeed wlp3s0}/s${alignr}${color0}${downspeedgraph wlp3s0 12,70}${color0}
#UL: ${color1}${upspeed wlp3s0}/s${alignr}${color0}${upspeedgraph wlp3s0 12,70}${color0}

 ]];
 
Looking nice everyone who posted so far! I do have a conky config but it was for my previous install so my configuration would have to be rewritten and I don't care to monitor my system resources that close anymore since and I barely look at my desktop now days.
 
I'd prefer that this thread was called "post your system status for Conky"!
 
Code:
1428  sudo apt-get --purge remove conky conky-all

Another lesson learned about software.
 
Screenshot from 2022-11-16 11-05-35.png
 
conky.jpg


Code:
conky.config = {

-- This portion is for conky window
        alignment = 'top_left',
        background = true,
        border_width = 1,
        double_buffer = true,
        draw_graph_borders = true,
        format_human_readable = true,
        gap_x = 10,
        gap_y = 5,
        minimum_height = 200,
        minimum_width = 450,
        maximum_width = 450,
        own_window = true,
        own_window_transparent = true,
        own_window_argb_visual = true,
        own_window_argb_value = 0,
        own_window_class = 'Conky',
        own_window_type = 'desktop',
        own_window_hints = 'undecorated,below,sticky,skip_taskbar',
        update_interval = 0.5,

-- This portion is for Fonts
        color1 = '98FF76', -- text color
        color2 = '1EB5FF', -- time color
        color3 = '30DDFB', -- date color
        uppercase = false,
        use_xft = true,
        font = 'Times New Roman:size9',

-- This portion is for cpu options
        cpu_avg_samples = 4,

-- This portion is for gauges
        --default_gauge_size = 25,

-- This portion is for networking
        net_avg_samples = 2,

}

conky.text = [[
${color1} $sysname $nodename $kernel $machine $color2${alignR}${time %a %b %d}
${color1} Conky Ver: ${conky_version}${color2}${alignr}${time %H:%M:%S}
${color1} ${uptime}${alignR}${color2}Users Logged In: ${user_number}
${color1} Ethernet: ${color2}${alignr}${if_up enp6s0}${addr enp6s0}${endif}
${color1} Wifi: ${color2}${alignr}${if_up wlp5s0}${addr wlp5s0}${endif}
${alignC} ${color2}${if_running audacious}Now ${exec audtool --playback-status} ${color1}${exec audtool --current-song-tuple-data artist} - ${exec audtool --current-song-tuple-data title}${else}No Music Playing${endif}
${alignC} ${color2}${if_running audacious}Volume is at: ${color1}${exec audtool --get-volume}%${else}${color3} ${endif}
${color1} $hr
${color3} Main HDD: ${fs_used /} / ${fs_size /}${alignR}${color1}${fs_bar 12,200 /}
${if_mounted /mnt/backup}${color3} Backup:   ${fs_used /mnt/backup} / ${fs_size /mnt/backup}${alignR}${color1}${fs_bar 12,200 /mnt/backup}${endif}
${color3} Temperature: ${color3}${execi 0.5 sensors | grep 'Sensor 1:' | cut -c16-22}
${color1} $hr
${color3} CPU: ${freq_g} GHz
${color3}${voffset -3} Average Usage: ${cpu}% ${alignR}${voffset -18}${color1}${cpugraph 30,200 33DDFB 1EB5FF}
${color3}${voffset -12} Temperature: ${color3}${execi 0.5 sensors | grep 'Tctl' | cut -c16-30}
${color3} Processes: ${processes}${alignr}Processes Running: ${running_processes}
${color1} $hr
${color3} ${execpi .001 (nvidia-smi --query-gpu=gpu_name --format=csv,noheader)} ${alignr}Temp: ${execpi .001 (nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader)}°C
${color3} Ver: ${execpi .001 (nvidia-smi --query-gpu=driver_version --format=csv,noheader)} ${alignr}P-State: ${execpi .001 (nvidia-smi --query-gpu=pstate --format=csv,noheader)}
${color1} $hr
${color3} RAM: ${color3}${mem} / ${memmax}${alignR}${memperc}% ${color1}${membar 12,200}
${color3} Swap: ${color3}${swap} / ${swapmax}${alignR}${swapperc}% ${color1}${swapbar 12,200}
${color1} $hr
${color3}${voffset 8} Upload: ${alignR}${color1}${upspeed enp6s0}     ${voffset -12}${upspeedgraph enp6s0 30,280 33DDFB 1EB5FF -l -t}
${color3}${voffset 8} Download: ${alignR}${color1}${downspeed enp6s0}     ${voffset -12}${downspeedgraph enp6s0 30,280 33DDFB 1EB5FF -l -t}
]]
 
View attachment 14112

Code:
conky.config = {

-- This portion is for conky window
        alignment = 'top_left',
        background = true,
        border_width = 1,
        double_buffer = true,
        draw_graph_borders = true,
        format_human_readable = true,
        gap_x = 10,
        gap_y = 5,
        minimum_height = 200,
        minimum_width = 450,
        maximum_width = 450,
        own_window = true,
        own_window_transparent = true,
        own_window_argb_visual = true,
        own_window_argb_value = 0,
        own_window_class = 'Conky',
        own_window_type = 'desktop',
        own_window_hints = 'undecorated,below,sticky,skip_taskbar',
        update_interval = 0.5,

-- This portion is for Fonts
        color1 = '98FF76', -- text color
        color2 = '1EB5FF', -- time color
        color3 = '30DDFB', -- date color
        uppercase = false,
        use_xft = true,
        font = 'Times New Roman:size9',

-- This portion is for cpu options
        cpu_avg_samples = 4,

-- This portion is for gauges
        --default_gauge_size = 25,

-- This portion is for networking
        net_avg_samples = 2,

}

conky.text = [[
${color1} $sysname $nodename $kernel $machine $color2${alignR}${time %a %b %d}
${color1} Conky Ver: ${conky_version}${color2}${alignr}${time %H:%M:%S}
${color1} ${uptime}${alignR}${color2}Users Logged In: ${user_number}
${color1} Ethernet: ${color2}${alignr}${if_up enp6s0}${addr enp6s0}${endif}
${color1} Wifi: ${color2}${alignr}${if_up wlp5s0}${addr wlp5s0}${endif}
${alignC} ${color2}${if_running audacious}Now ${exec audtool --playback-status} ${color1}${exec audtool --current-song-tuple-data artist} - ${exec audtool --current-song-tuple-data title}${else}No Music Playing${endif}
${alignC} ${color2}${if_running audacious}Volume is at: ${color1}${exec audtool --get-volume}%${else}${color3} ${endif}
${color1} $hr
${color3} Main HDD: ${fs_used /} / ${fs_size /}${alignR}${color1}${fs_bar 12,200 /}
${if_mounted /mnt/backup}${color3} Backup:   ${fs_used /mnt/backup} / ${fs_size /mnt/backup}${alignR}${color1}${fs_bar 12,200 /mnt/backup}${endif}
${color3} Temperature: ${color3}${execi 0.5 sensors | grep 'Sensor 1:' | cut -c16-22}
${color1} $hr
${color3} CPU: ${freq_g} GHz
${color3}${voffset -3} Average Usage: ${cpu}% ${alignR}${voffset -18}${color1}${cpugraph 30,200 33DDFB 1EB5FF}
${color3}${voffset -12} Temperature: ${color3}${execi 0.5 sensors | grep 'Tctl' | cut -c16-30}
${color3} Processes: ${processes}${alignr}Processes Running: ${running_processes}
${color1} $hr
${color3} ${execpi .001 (nvidia-smi --query-gpu=gpu_name --format=csv,noheader)} ${alignr}Temp: ${execpi .001 (nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader)}°C
${color3} Ver: ${execpi .001 (nvidia-smi --query-gpu=driver_version --format=csv,noheader)} ${alignr}P-State: ${execpi .001 (nvidia-smi --query-gpu=pstate --format=csv,noheader)}
${color1} $hr
${color3} RAM: ${color3}${mem} / ${memmax}${alignR}${memperc}% ${color1}${membar 12,200}
${color3} Swap: ${color3}${swap} / ${swapmax}${alignR}${swapperc}% ${color1}${swapbar 12,200}
${color1} $hr
${color3}${voffset 8} Upload: ${alignR}${color1}${upspeed enp6s0}     ${voffset -12}${upspeedgraph enp6s0 30,280 33DDFB 1EB5FF -l -t}
${color3}${voffset 8} Download: ${alignR}${color1}${downspeed enp6s0}     ${voffset -12}${downspeedgraph enp6s0 30,280 33DDFB 1EB5FF -l -t}
]]
is this geany or python script?
I just used Conky Manager
 
1670129926879.png


Conky just brings up a console on my system.
 
cat conky.conf
-- Conky, a system monitor https://github.com/brndnmtthws/conky
--
-- This configuration file is Lua code. You can write code in here, and it will
-- execute when Conky loads. You can use it to generate your own advanced
-- configurations.
--
-- Try this (remove the `--`):
--
-- print("Loading Conky config")
--
-- For more on Lua, see:
-- https://www.lua.org/pil/contents.html

conky.config = {
alignment = 'top_left',
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 = 'DejaVu Sans Mono:size=12',
gap_x = 60,
gap_y = 60,
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_class = 'Conky',
own_window_type = 'desktop',
show_graph_range = false,
show_graph_scale = false,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
use_xft = true,
}

conky.text = [[
${color grey}Info:$color ${scroll 32 Conky $conky_version - $sysname $nodename $kernel $machine}
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed} ${color grey} - Down:$color ${downspeed}
$hr
${color grey}Name PID CPU% MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
]]
 
cat conky.conf
-- Conky, a system monitor https://github.com/brndnmtthws/conky
--
-- This configuration file is Lua code. You can write code in here, and it will
-- execute when Conky loads. You can use it to generate your own advanced
-- configurations.
--
-- Try this (remove the `--`):
--
-- print("Loading Conky config")
--
-- For more on Lua, see:
-- https://www.lua.org/pil/contents.html

conky.config = {
alignment = 'top_left',
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 = 'DejaVu Sans Mono:size=12',
gap_x = 60,
gap_y = 60,
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_class = 'Conky',
own_window_type = 'desktop',
show_graph_range = false,
show_graph_scale = false,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
use_xft = true,
}

conky.text = [[
${color grey}Info:$color ${scroll 32 Conky $conky_version - $sysname $nodename $kernel $machine}
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed} ${color grey} - Down:$color ${downspeed}
$hr
${color grey}Name PID CPU% MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
]]
if you have it as an opened app on your taskbar that you want to get rid of try adding:

own_window_hints = 'undecorated,below,sticky,skip_taskbar',

if you want to make the conky window transparent try adding:

own_window_transparent = true,
own_window_argb_visual = true,
own_window_argb_value = 0,

add these values in the conky.config = { } section then save the config file. you may have to restart conky. if you restart from the terminal I use conky -d -c /path/to/conky.conf

the -d option daemonizes conky
 

Members online


Top