OK then, here is the big secret.
(With HUGE thanks to
t-mo_ ! )
I have figured out how to have a semi-transparent background behind your conky, WITHOUT gimping all of your wallpapers!
Basically, it's simply laying a special font which is the "Template" on first, then using
voffset -x to place the info on top. you can overlay each single line of the template multiple times to acheive the darkness desired. You will likely need to bump up your
max_user_text to accomidate the extra characters, but I think it's worth it!
Here is my .conkyrc with the template section in
Purple
Code:
#!/usr/bin/conky -d -c
## .conkyrc configuration
alignment top_right
background yes
border_margin 5
border_width 5
color0 555555 #
color1 483D8B # Dark Slate Blue
color2 B8860B # Dark goldenrod
color3 4682B4 # Steelblue
color4 8B0000 # Dark red
color5 008080 # Teal
color6 333333 # Gray20
color7 C8C8FF # (COOL)
color8 FFFFCC # (WARM)
color9 FCCCCC # (HOT)
cpu_avg_samples 2
default_color F8F8FF # Ghost white
default_outline_color 000000 # Black
default_shade_color 000000 # Black
double_buffer yes
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
gap_x 0
gap_y 50
max_specials 512
max_user_text 20000
maximum_width 360
minimum_size 850
net_avg_samples 2
no_buffers yes
override_utf8_locale yes
own_window yes
own_window_colour 000000 # Black
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
own_window_type normal
pad_percents 2
short_units yes
stippled_borders 3
text_buffer_size 4000
total_run_times 0
update_interval 1.0
uppercase no
use_spacer right
use_xft yes
xftalpha 0.75
xftfont Liberation Sans:size=9
#After this begins text to be formatted on screen
TEXT
${font conkybackgroundfi:size=19}${color black}${goto 2}EDDDDDDF${goto 2}EDDDDDDF${goto 2}EDDDDDDF${goto 2}EDDDDDDF${goto 2}EDDDDDDDDF
${voffset -2}${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD
${voffset -2}${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD
${voffset -2}${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD
${voffset -2}${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD
${voffset -2}${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD
${voffset -2}${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD
${voffset -2}${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD
${voffset -2}${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD
${voffset -2}${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD
${voffset -2}${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD
${voffset -2}${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD
${voffset -2}${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD
${voffset -2}${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD
${voffset -2}${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD
${voffset -2}${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD
${voffset -2}${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD
${voffset -2}${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD${goto 2}DDDDDDDD
${voffset -2}${goto 2}GDDDDDDC${goto 2}GDDDDDDC${goto 2}GDDDDDDC${goto 2}GDDDDDDC${goto 2}GDDDDDDC${font}${color}
${voffset -800}${goto 20}${font tattoo:size=50}${color1}c${goto 310}c${font}${color}
${voffset -50}${font Algerian:Bold:size=16}${alignc}${color3}$nodename${font}
${font Liberation Sans:Bold:size=10}${alignc}~ $kernel ~
${alignc}~ K${pre_exec lsb_release -i | cut -f 2| tr "[:upper:]" "[:lower:]"} ${pre_exec lsb_release -c | cut -f 2} ( ${pre_exec lsb_release -r | cut -f 2} ) ~ ${pre_exec kde4-config --version | grep 'KDE' | head --bytes=11} ~${color}${font}
${execi 60 date +"%B %Y" | tr "[:lower:]" "[:upper:]"} ${color1}${hr 1}${color}
${font Liberation Mono:size=9}${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color2}'"$DJS"'${color}'" "/}
Core Systems: ${color1}${hr 1}${color}
${color2}${pre_exec dmidecode --string=processor-version | tail -n1}${color}${font Liberation Mono:size=9}
${cpugraph 25,360 000000 4682B4}
${voffset -48}
`Core 0 (${color2}${cpu cpu1}%${color})${goto 150}..:: ${color2}${freq_dyn_g cpu1}Ghz${color} ::..${alignr}${font Liberation Mono:Bold:size=9}${execpi 6 sensors | grep Core0 | paste -s | cut -c15-18 | xargs ~/.conky/colorize.sh}°C ${color}${font Liberation Mono:size=9}
`Core 1 (${color2}${cpu cpu2}%${color})${goto 150}..:: ${color2}${freq_dyn_g cpu2}Ghz${color} ::..${alignr}${font Liberation Mono:Bold:size=9}${execpi 6 sensors | grep Core1 | paste -s | cut -c15-18 | xargs ~/.conky/colorize.sh}°C ${color}${font}
${color3}$cpubar${color}
${memgraph 25,360 000000 4682B4}
${voffset -60}${font Liberation Mono:size=9}
RAM Usage: ${color2}$memperc%${color}${goto 225}${color2}$mem${color} of ${color2}$memmax${color}
Processes Loaded: ${color2}$processes${color}${goto 225}Cached: ${color2}$cached${color}
Processes Running: ${color2}$running_processes${color}${goto 225}Buffers: ${color2}$buffers${color}${font}
${color3}$membar${color}
Graphics: ${color1}${hr 1}${color}
${color2}${pre_exec lspci | grep VGA | tail -c+36}${color}
Driver Version: ${color2}NVIDIA ${pre_exec nvidia-settings -q nVidiaDriverVersion -t}${color}${alignr}Screen: ${color2}${pre_exec nvidia-settings -q FrontEndResolution -t}${color} @ ${color2}${pre_exec nvidia-settings -q RefreshRate3 -t}${color}
File Systems: ${color1}${hr 1}${color}
/dev/sda (${pre_exec hddtemp /dev/sda | cut -c11-28 })${alignr}${font Liberation Mono:Bold:size=9}${execpi 6 hddtemp /dev/sda -n | xargs ~/.conky/colorize.sh}°C${color}${font}
${color3}${fs_bar 15 /}${color}
${voffset -20} / ${alignr}${fs_free /} (${fs_free_perc /}%) free of ${fs_size /}
${color3}${fs_bar 15 /home}${color}
${voffset -20} /home ${alignr}${fs_free /home} (${fs_free_perc /home}%) free of ${fs_size /home}
/dev/sdb ${if_mounted /media/PTAH}(${pre_exec hddtemp /dev/sdb | cut -c11-29})
${color3}${fs_bar 15 /media/PTAH}${color}
${voffset -20} /media/PTAH ${alignr}${fs_free /media/PTAH} (${fs_free_perc /media/PTAH}%) free of ${fs_size /media/PTAH}${else}( -- )
${color 000000}${fs_bar 15 /media/PTAH}${color}
${voffset -20} /media/PTAH ${alignr}- NOT MOUNTED -${endif}
Network: (Internal: ${color2}${addrs eth1}${color}, External: ${color2}${pre_exec wget -O - http://whatismyip.org/ | tail}${color} ) ${color1}${hr 1}${color}
${downspeedgraph eth1 25,180 000000 ff0000} ${alignr}${upspeedgraph eth1 25,180 000000 00ff00}
${voffset -35} ` down ${color2}${downspeedf eth1} k/s ${color}${goto 190}up ${color3}${upspeedf eth1} k/s${color}
` total down: ${color2}${totaldown eth1}${color}${goto 190}total up: ${color3}${totalup eth1}${color}
Weather: ( ${color2}${execi 1000 python ~/.conky/conkyLatLong.py}${color} ) ${color1}${hr 1}${color}
${execpi 3600 conkyForecast --location=USOK0233 --template=/home/crinos/.conky/weather.template}
${color1}( Conky ${conky_version}${alignr}${pre_exec conkyForecast -V} )${color}
${texeci 1000 feh --bg-scale "`grep 'wallpaper=' ~/.kde/share/config/plasma-appletsrc | tail -n1 | tail --bytes=+11`"}
Here's the conkybackground font by
t-mo_:
(drop the contents into your ~/.fonts directory.)
Attachment 109058
And a few screenshots:
Attachment 109059Attachment 109060Attachment 109061
Bookmarks