Conky thread, show your work!

how-to
conky

#32

Adapted from an old default in the Manjaro Xfce release. Some points are not flexible and bound to my configuration and may thus require some tinkering.

It shows the 3 most RAM demanding processes, and several (logarithmic or proportional) dynamic graphs.

Notably the minimum_size and maximum_size which should be adjusted to your screen horizontal resolution (mine is 1920)

What I love about this setup is that it is always visible as other windows will not draw over it (except in fullscreen mode, like a panel)

The colors are, IIRC, inspired by Solarized

#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window yes
own_window_type panel
own_window_transparent no
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

#borders
draw_borders no

#shades
draw_shades no

#position
gap_x 0
gap_y 4
alignment top_middle

#behaviour
update_interval 1

#colour
default_color  c0c0c0
color1 56abf2 
color2 6ebdff
#color2 5DDE91
#color1 878dfb
#$blue:  #268bd2
#default_shade_color ffffff
#own_window_colour 262729
own_window_colour 2c2c2c

#font
use_xft yes
xftfont DejaVu Sans:size=7

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

#to prevent window from moving
use_spacer none
minimum_size 1910 0
maximum_size 1670 0

#mpd
#mpd_host localhost
#mpd_port 6600
#Kernel: ${color 67db6d}$kernel${color}  Arch: ${color 67db6d}$machine${color}  Up: ${color 67db6d}${uptime_short}${color} ${alignc} Cpu: ${color 67db6d}${cpu}% ${cpugraph 9,50 67db6d ffffff -t}${color}  Ram: ${color 67db6d}${memperc}% ${membar 5,50 -t} ${color}  Swap: ${color 67db6d}${swapperc}%${color} | Home: ${color 67db6d} ${fs_used_perc /home}% ${fs_bar 5,20 /home} ${fs_free /home}${color}  System : ${color 67db6d} ${fs_free /} ${color}  | ${if_existing /proc/net/route wlp3s3}Up: ${color 67db6d}${upspeed wlp3s3} ${upspeedgraph wlp3s3 9,30 67db6d ffffff 500 -l} ${totalup wlp3s3}${color}  Down: ${color 67db6d}${downspeed wlp3s3} ${downspeedgraph wlp3s3 9,30 67db6d ffffff 1500 -t -l} ${totaldown wlp3s3}${color}${else}${if_existing /proc/net/route wlp2s0}Up: ${color 67db6d}${upspeed wlp2s0} ${upspeedgraph wlp2s0 9,30 67db6d ffffff 500 -l} ${totalup wlp2s0}${color}  Down: ${color 67db6d}${downspeed wlp2s0} ${downspeedgraph wlp2s0 9,30 67db6d ffffff 2000 -t} ${totaldown wlp2s0}${color}${else} Network Unavailable${endif}${endif}${alignc} ${alignr} Date: ${color 67db6d}${time %d.%m.%y}${color}  Time: ${color 67db6d}${time %H:%M}${color} ${alignr}

TEXT
Up: ${color2}${uptime_short} ${color} Ram: ${color1}${memperc}% ${membar 5,50 -t} ${color}  ${color1}${top_mem mem 1}% ${color c0c0c0}${top_mem name 1} ${color1}${top_mem mem 2}% ${color c0c0c0}${top_mem name 2} ${color1}${top_mem mem 3}% ${color c0c0c0}${top_mem name 3} ${color} ${alignc} Cpu: ${color1}${cpu}% ${cpugraph 9,50 color1 ffffff -t}${color}  | Home: ${color1} ${fs_used_perc /home}% ${fs_bar 5,20 /home} ${fs_free /home}${color}  System : ${color1} ${fs_used_perc /}% ${fs_bar 5,20 /} ${fs_free /} ${color} | ${if_existing /proc/net/route enp3s0}Up: ${color1}${upspeed enp3s0} ${upspeedgraph enp3s0 9,30 color1 ffffff 500 -l} ${totalup enp3s0}${color}  Down: ${color1}${downspeed enp3s0} ${downspeedgraph enp3s0 9,30 color1 ffffff 1500 -t -l} ${totaldown enp3s0}${color}${else}${if_existing /proc/net/route wlp2s0}Up: ${color1}${upspeed wlp2s0} ${upspeedgraph wlp2s0 9,30 color1 ffffff 500 -l} ${totalup wlp2s0}${color}  Down: ${color1}${downspeed wlp2s0} ${downspeedgraph wlp2s0 9,30 color1 ffffff 2000 -t} ${totaldown wlp2s0}${color}${else} Network Unavailable${endif}${endif}${alignc} ${alignr} Date: ${color2}${time %d.%m.%y}${color}  Time: ${color2}${time %H:%M}${color} ${alignr}

An example of a historical (2011) default Manjaro one-lign .conkyrc, upon which the above has been built, can be found in this post


#33

How does this screenfetch terminal window work?? :open_mouth:


#34

its the cool-retro-term. it’s pretty awesome.
i think it’s

sudo pacman -S cool-retro-term

#35

made a simple one

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 4

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

own_window yes
own_window_transparent yes
#own_window_type override
own_window_type desktop
#own_window_type normal #use this if you want a nice shadow to appear around conky

# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 180 0
#maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color white
#default_shade_color white
#default_outline_color grey
own_window_colour 000000

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 12
gap_y 8

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none

own_window_argb_value 128
own_window_argb_visual no
TEXT
${hr 2}
${alignc}${font Comfortaa:size=12}${nodename}${font}
${alignc}${font Comfortaa:size=10}Manjaro 16.10 Fringilla
${font Comfortaa:size=10} Kernel: ${alignr}${kernel}
${font Comfortaa:size=10} CPU: ${cpu cpu0}% ${alignr}${cpubar cpu0 8,60}
	${top name 1} $alignr ${top cpu 1}%
	${top name 2} $alignr ${top cpu 2}%
	${top name 3} $alignr ${top cpu 3}%
	${top name 4} $alignr ${top cpu 4}%
	${top name 5} $alignr ${top cpu 5}%
${font Comfortaa:size=10} RAM: $mem ${alignr}${membar 8,60}
	${top_mem name 1} $alignr ${top_mem mem_res 1}
	${top_mem name 2} $alignr ${top_mem mem_res 2}
	${top_mem name 3} $alignr ${top_mem mem_res 3}
	${top_mem name 4} $alignr ${top_mem mem_res 4}
	${top_mem name 5} $alignr ${top_mem mem_res 5}
${font Comfortaa:size=10} FS: ${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${hr 2}


#36

diggin’ that wall


#37

#38

That’s my conky, got it from KDE Look. Currently showing only 2 of 4 cores. Had no time yet to fix this.


#39

i have not posted my conky for quite a while. it has not changed much, but i made some subtle changes to it.

screenshot:

if you want to have the same conky, please install noto-fonts first:

sudo pacman -S noto-fonts

next, copy and paste the following code into a ~/.conkyrc file:

conky.config = {

--Text color:
	default_color = 'white',
	color1 = '0AB1FF',
	color2 = 'DD4814',

--Background color:
--	own_window_colour = 'black',

--Background transparency (0..255) - 0=transparent; 255=solid background
	own_window_argb_value = 0,
--	own_window_transparent = true,
 
	own_window_argb_visual = true,
	own_window = true,
	own_window_type = 'normal',
	own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',

	draw_shades = false,
	draw_outline = false,
	draw_borders = false,

	use_xft = true,
	xftalpha = 1,

	no_buffers = true,
	double_buffer = true,
	text_buffer_size = 2048,

	short_units = true,

	update_interval = 1,

	alignment = 'bottom_right',
	gap_x = 15,
	gap_y = 10,

	maximum_width = 260,

	default_bar_height = 9,
	default_bar_width = 110,
	draw_graph_borders = false,
}


conky.text = [[
${font NotoSans-Bold:size=26}${color1}$alignr ${time %H:%M}$font
${font NotoSans-Bold:size=11}${color1}$alignr${time %A, %d.%B %Y}

${color1}${execi 11003 whoami}@${nodename} ${alignr}${color}uptime: ${color1}${uptime_short}
${font NotoSans-Bold:size=11}${voffset 5}${color}Nvidia Driver: ${color1}${execi 12000 nvidia-settings -q NvidiaDriverVersion -t | grep -m 1 ""} $alignr${color}systemd: ${color1}${execi 11002 init --version | grep systemd | cut -d " " -f 2}
${color}Entropy: ${color1}$entropy_avail / $entropy_poolsize $alignr${color}Kernel: ${color1}${execi 12000 uname -r | cut -d "-" -f 1}

${font NotoSans-Bold:size=11}${color}GPU: ${color1}${goto 57}${font NotoSans-Bold:size=9}${execi 29 nvidia-settings -q GPUCoreTemp -t | grep -m 1 "" }°C ${goto 96}${color2}${execbar nvidia-settings -q GPUUtilization -t | cut -d , -f 1 | cut -d = -f 2 }${alignr}${color1}${execi 2 nvidia-settings -q GPUCurrentProcessorClockFreqs -t | grep -m 1 ""} MHz

${font NotoSans-Bold:size=11}${color}CPU ${goto 38}1:${color1} ${goto 57}${font NotoSans-Bold:size=9}${execi 30 sensors | grep 'Core 0:' | cut -c16-17}°C ${goto 96}${color2}${cpubar cpu1}  ${alignr}${color1}${freq_g 1} GHz
 ${goto 96}${color2}${cpubar cpu2} ${alignr}${color1}${freq_g 2} GHz
${font NotoSans-Bold:size=11}${color}CPU ${goto 38}2:${color1} ${goto 57}${font NotoSans-Bold:size=9}${execi 31 sensors | grep 'Core 1:' | cut -c16-17}°C ${goto 96}${color2}${cpubar cpu3}  ${alignr}${color1}${freq_g 3} GHz
 ${goto 96}${color2}${cpubar cpu4} ${alignr}${color1}${freq_g 4} GHz
${font NotoSans-Bold:size=11}${color}CPU ${goto 38}3:${color1} ${goto 57}${font NotoSans-Bold:size=9}${execi 32 sensors | grep 'Core 2:' | cut -c16-17}°C ${goto 96}${color2}${cpubar cpu5}  ${alignr}${color1}${freq_g 5} GHz
 ${goto 96}${color2}${cpubar cpu6} ${alignr}${color1}${freq_g 6} GHz
${font NotoSans-Bold:size=11}${color}CPU ${goto 38}4:${color1} ${goto 57}${font NotoSans-Bold:size=9}${execi 33 sensors | grep 'Core 3:' | cut -c16-17}°C ${goto 96}${color2}${cpubar cpu7}  ${alignr}${color1}${freq_g 7} GHz
 ${goto 96}${color2}${cpubar cpu8} ${alignr}${color1}${freq_g 8} GHz${font NotoSans-Bold:size=11}

${color}PROCESS ${color1}${font NotoSans-Bold:size=9} $running_processes / $processes ${font NotoSans-Bold:size=11}${color}$alignr CPU      IO     RAM${font NotoSans-Bold:size=9}${color1}
    ${voffset 4}${top name 1} ${goto 136}${top cpu 1}%
    ${top name 2} ${goto 136}${top cpu 2}%
    ${top name 3} ${goto 136}${top cpu 3}%
    ${voffset 6}${top_io name 1} ${goto 190}${top_io io_read 1}/s
                     ${goto 190}${top_io io_write 1}/s
    ${voffset 5}${top_mem name 1} $alignr${top_mem mem_res 1}
    ${top_mem name 2} $alignr${top_mem mem_res 2}
    ${top_mem name 3} $alignr${top_mem mem_res 3}
    ${top_mem name 4} $alignr${top_mem mem_res 4}
    ${top_mem name 5} $alignr${top_mem mem_res 5}
    ${top_mem name 6} $alignr${top_mem mem_res 6}${font NotoSans-Bold:size=11}

${color}RAM: $alignr${color 143342}${cached} +${color1} ${mem} / ${memmax}
${color2}${membar 9,260}
${color}Swap: ${color1} ${goto 57}${diskio sda2}/s $alignr${swap} / ${swapmax}

${color}Root: ${color1} ${goto 57}${diskio sda3}/s ${alignr}${fs_used /} / ${fs_size /}
${color2}${fs_bar 9,260 /}${goto 5}${color}${diskiograph sda3 9,52}
${voffset 10}${color}Home: ${color1} ${goto 57}${diskio sda4}/s ${alignr}${fs_used /home} / ${fs_size /home}
${color2}${fs_bar 9,260 /home}${goto 5}${color}${diskiograph sda4 9,52}
${voffset 10}${color}Data: ${color1} ${goto 57}${diskio sdb2}/s ${alignr}${fs_used /run/media/excalibur/data} / ${fs_size /run/media/excalibur/data}
${color2}${fs_bar 9,260 /run/media/excalibur/data}${goto 5}${color}${diskiograph sdb2 9,52}

${if_existing /proc/net/route enp7s1}${color}Ethernet IP: ${alignr}${color1}${addr enp7s1}
${voffset 10}${color}Down: ${color1}${goto 57}${downspeed enp7s1}/s ${alignr} ${color}Up: ${color1}${upspeed enp7s1}/s
${color2}${downspeedgraph enp7s1 24,110 -t} ${alignr}${upspeedgraph enp7s1 24,110 -t} ${color1}
Total: ${totaldown enp7s1}  ${alignr} Total: ${totalup enp7s1}${else}${color}WLAN:${color1}$alignr${wireless_essid wlp2s2}${font NotoSans-Bold:size=9}$alignr(${wireless_bitrate wlp2s2})${font NotoSans-Bold:size=11}
${color2}${wireless_link_bar 9, 260 wlp2s2}
${voffset 10}${color}Down: ${color1}${downspeed wlp2s2}/s ${alignr} ${color}Up: ${color1}${upspeed wlp2s2}/s
${color2}${downspeedgraph wlp2s2 24,110 -t} ${alignr}${upspeedgraph wlp2s2 24,110 -t} ${color1}
Total: ${totaldown wlp2s2}  ${alignr} Total: ${totalup wlp2s2}${endif}
]]

if the background is not transparent in your desktop environment, please try to remove the -- symbols in front of one or both of these code lines:

– own_window_colour = ‘black’,
– own_window_transparent = true,

in general, you can try to play around with settings in the conky.config = { .... } part of the conky code.

there are more tips in a outdated guide on the manjaro wiki. all conky code in there looks a little (but not much) different now. but the tips should still apply.

the background transparency and window/desktop properties (what happens when you click with your mouse on the conky?) of conky are always wonky when you change your desktop environment. if you have trouble with these things, i suggest you create your own conky (in your desktop environment) and try to apply different “own_window” settings until you found a working solution for your desktop environment.

p.s.: this conky was made for NVIDIA GPUs using the proprietary driver. especially the “GPU” part only works for that driver. depending on your driver version, this conky needs slight adjustments. this conky also assumes a 4 core CPU with 8 threads. adjust the “CPU” part, if your system is different.


Conky shows incorrect RAM usage
#40

Did you have any trouble getting that to display properly? I tried using the package in the old forum but the components were extremely spaced out and mostly off the screen when I tried applying it.


#41

I took a lot if time to arrange the item that it fits. “Out of the box” everything was messed up as well.


#42

Well glad to know it is not just my system at least. Guess it is time to learn what all those conky config settings do.


#43

#44

conky.config = {
	alignment = 'top_right',
	background = true,
	color2 = '0A95BE',
	cpu_avg_samples = 2,
	default_color = '4CC5EA',
	double_buffer = true,
	font = 'Terminus:size=11',
	draw_shades = false,
	gap_x = 10,
	gap_y = 0,
	minimum_width = 160,
	no_buffers = true,
	own_window = true,
	own_window_type = 'override',
	own_window_transparent = true,
	update_interval = 1.0,
	use_xft = true,
}
conky.text = [[
${font Cormorant SC:semibold:size=48}\
$alignr${time %R}$font$color2
${voffset 15}\
$alignr${time %A}
$alignr${time %e %B}
$alignr${time %Y}\
$font$color
#
${voffset 10}\
${goto 95}${color2}Temp.:$color\
${alignr}${execi 600 weather-report -q -m --headers=Temperature|cut -d ':' -f 2}
${voffset 5}\
${goto 95}${color2}Feels:$color\
${alignr}${execi 600 weather-report -q -m --headers=Windchill|cut -d ':' -f 2}
${voffset 5}\
${alignr}${execi 600 weather-report -q -m --headers='Sky conditions'|cut -d ':' -f 2}
#
${voffset 20}\
$color2${font DejaVu Sans Mono:size=7}${execi 10000 screenfetch -L -N}$font$color
${voffset -10}\
$alignr${font Comfortaa:bold:size=20}${execi 10000 awk -F= '/TION/ {print $2}' /etc/lsb-release |sed 's/"//g'}$font
${voffset 10}\
$alignr${execi 10000 awk -F= '/EASE=/ {printf $2" "} /NAME/ {print $2}' /etc/lsb-release}
#
${voffset 10}\
$alignr${color2}kernel: $color${kernel}
#
${voffset 20}\
CPU$alignr$cpu%
${cpubar 4}
$color2${top name 1}$color$alignr${top cpu 1}%
$color2${top name 2}$color$alignr${top cpu 2}%
$color2${top name 3}$color$alignr${top cpu 3}%
$color2${top name 4}$color$alignr${top cpu 4}%
$color2${top name 5}$color$alignr${top cpu 5}%
#
${voffset 10}\
RAM$alignr$mem/${memmax}
${membar 4}
$color2${top_mem name 1}$color$alignr${top_mem mem_res 1}
$color2${top_mem name 2}$color$alignr${top_mem mem_res 2}
$color2${top_mem name 3}$color$alignr${top_mem mem_res 3}
$color2${top_mem name 4}$color$alignr${top_mem mem_res 4}
$color2${top_mem name 5}$color$alignr${top_mem mem_res 5}
#
]]


Just January (2017) Screenshots
#45

Nice and simple. Like the weather part


#46

I like the time! :laughing:


#47

I have modified my conky a little.

Config:

conky.config = {
	alignment = 'top_right',
	background = true,
	color2 = '3DAEE9',
	cpu_avg_samples = 2,
	default_color = 'EFF0F1',
	double_buffer = true,
	font = 'Consolas:size=12',
	draw_shades = false,
	gap_x = 10,
	gap_y = 0,
	minimum_width = 160,
	no_buffers = true,
	own_window = true,
	own_window_type = 'override',
	own_window_transparent = true,
	update_interval = 1.0,
	use_xft = true,
}
conky.text = [[
${font Cormorant SC:semibold:size=48}\
$alignr${time %R}$font$color2
${voffset 15}\
$alignr${time %A}  
$alignr${time %e %B}  
$alignr${time %Y}  \
$font$color
#
${voffset 10}\
${execi 600 weather-report -qm --headers='Temperature,Windchill,Weather,Sky conditions' uwww|sed 's/; /\n\t\t\t/g'|sed 's/^.*:/\t\t\t/'}
#
${voffset 30}\
$color2${font mono:size=6}\
${execi 10000 screenfetch -L -N  | sed 's/^/\t/' | sed 's/ *$//'}\
$font
${voffset -10}\
$alignr${font Comfortaa:bold:size=22}${execi 10000 awk -F= '/TION/ {print $2}' /etc/lsb-release |sed 's/"//g'}$font$color
${voffset 10}\
$alignr${execi 10000 awk -F= '/EASE=/ {printf $2" "} /NAME/ {print $2}' /etc/lsb-release}
#
${voffset 10}\
$alignr${color2}kernel: $color${kernel}
#
${voffset 40}\
CPU$alignr$cpu%
${cpubar 4}
$color2${top name 1}$color$alignr${top cpu 1}%
$color2${top name 2}$color$alignr${top cpu 2}%
$color2${top name 3}$color$alignr${top cpu 3}%
$color2${top name 4}$color$alignr${top cpu 4}%
$color2${top name 5}$color$alignr${top cpu 5}%
#
${voffset 10}\
RAM$alignr$mem/${memmax}
${membar 4}
$color2${top_mem name 1}$color$alignr${top_mem mem_res 1}
$color2${top_mem name 2}$color$alignr${top_mem mem_res 2}
$color2${top_mem name 3}$color$alignr${top_mem mem_res 3}
$color2${top_mem name 4}$color$alignr${top_mem mem_res 4}
$color2${top_mem name 5}$color$alignr${top_mem mem_res 5}
#
]]

For the weather I use weather package from the AUR.

EDIT. I figured out how to fix native conky weather function. See here


Conky config
Just January (2017) Screenshots
Just January (2017) Screenshots
#48

My conky output:

Ant the conky file:

conky.config = {
    alignment = 'top_right',
    gap_x = 50,
    gap_y = 60,
    background = true,
    border_width = 1,
    cpu_avg_samples = 2,
    default_color = 'white',
    color2 = 'grey',
    default_outline_color = 'white',
    default_shade_color = 'white',
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    use_xft = true,
    font  = 'Caviar Dreams:size=12',
    font2 = 'Caviar Dreams:size=10',
    minimum_height = 5,
	minimum_width = 5,
    net_avg_samples = 2,
    no_buffers = true,
    double_buffer = true,
    out_to_console = false,
    out_to_stderr = false,
    extra_newline = false,
    own_window = true,
    own_window_class = 'Conky',
    own_window_type = 'dock',
    own_window_transparent = true,
    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
    own_window_argb_visual = true,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    show_graph_scale = false,
    show_graph_range = false
}

conky.text = [[
${voffset 8}${color2}${font Caviar Dreams:size=16}${time %A}$font${voffset -8}$alignr$color${font Caviar     Dreams:size=38}${time %e}$font
$color${voffset -30}$color${font Caviar Dreams:size=18}${time %b}$font${voffset -3} $color${font Caviar Dreams:size=20}${time %Y}$font${color2}${voffset 2}$hr

${voffset 16}${goto 30}${color}CPU $alignr$cpu%
${goto 40}${font Caviar Dreams:size=10}${color2}CPU1 $alignr${cpu cpu1}%
${goto 40}CPU2 $alignr${cpu cpu2}%
${goto 40}CPU3 $alignr${cpu cpu3}%
${goto 40}CPU4 $alignr${cpu cpu4}%
${goto 40}CPU5 $alignr${cpu cpu5}%
${goto 40}CPU6 $alignr${cpu cpu6}%$font

${voffset 12}${goto 30}${color}RAM $alignr$mem

${voffset 12}${goto 30}${color}Networking
${goto 40}${color2}${font Caviar Dreams:size=10}up: $alignr${upspeed enp6s0}
${goto 40}${color2}${upspeedgraph enp6s0 20}
${goto 40}${color2}${font Caviar Dreams:size=10}down: $alignr${downspeed enp6s0}
${goto 40}${color2}${downspeedgraph enp6s0 20}$font
#
${voffset 5}${goto 30}${color}File systems:
${voffset 5}${goto 40}${color2}${font Caviar Dreams:size=10}/ $alignr${fs_used /}/${fs_size /}
${goto 40}${color2}${font Caviar Dreams:size=10}${fs_bar 6 /}
${voffset 5}${goto 40}${color2}${font Caviar Dreams:size=10}/home $alignr${fs_used /home}/${fs_size /home}
${goto 40}${color2}${font Caviar Dreams:size=10}${fs_bar 6 /home}
${voffset 5}${goto 40}${color2}${font Caviar Dreams:size=10}/media/Daten $alignr${fs_used /media/Daten}/${fs_size /media/Daten}
${goto 40}${color2}${font Caviar Dreams:size=10}${fs_bar 6 /media/Daten}
${voffset 5}${goto 40}${color2}${font Caviar Dreams:size=10}/media/VMs $alignr${fs_used /media/VMs}/${fs_size /media/VMs}
${goto 40}${color2}${font Caviar Dreams:size=10}${fs_bar 6 /media/VMs}
# 
$hr
${font Caviar Dreams:size=12}$alignr$color${execi 5000 awk -F= '/ID=/{printf $2" "} /RELEASE=/{printf $2" "} /NAME=/{print $2}' /etc/lsb-release}
${voffset 5}${color grey}${alignr}${execi 1200 whoami}@${nodename}
${goto 80}${color grey}${font Caviar Dreams:size=8}uptime:${color}${alignr}${uptime_short}
${goto 80}${color grey}${font Caviar Dreams:size=8}kernel:${color}${alignr}${kernel}
${color grey}$hr
]]

When Conky refreshes, it prints on top of itself
Plasmoids (Widgets) versus Conky
#49

I saw a post on the forum about wttr.in and used it in my conky:

The line in my conky config:
${texeci 1800 curl -s wttr.in | sed -n '3,7{s/\d27\[[0-9;]*m//g;s/^..//;s/ *$//;p}'}


#50

thanks a lot!
i do not even understand the sed code without looking really into it, but i have a suggestion for improvement. this makes it possible to get the weather from your city in your language:

${texeci 1800 curl -s "http://wttr.in/berlin?lang=de" | sed -n '3,7{s/\d27\[[0-9;]*m//g;s/^..//;s/ *$//;p}'}

or

${texeci 1800 curl -s "http://wttr.in?lang=de" | sed -n '3,7{s/\d27\[[0-9;]*m//g;s/^..//;s/ *$//;p}'}


#51

I just didn’t know how to remove color codes from the output, so I used sed.