Hello,
I tried to make my own conky config, and was working fine. But when I added conky to startup it comes above all windows. Looking for answers, some people told me to get "normal" or "desktop" instead "override" in "own_window_type", it work's, but it come with ugly shadows instead the "transparency".
I have another question, how I make the icons work? Didn't understand that part of the code :S
Thanks, bye;
Here is the code:
PHP Code:
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=7
xftalpha 0.8
text_buffer_size 2048
color0 FFFFFF
color1 FCAF3E
color2 000000
color3 a00000
# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
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 350
# 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 black
#default_color white
#default_shade_color black
#default_outline_color white
own_window_colour white
# 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 35
gap_y 35
# 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
TEXT
${font style=bold}HORA ${hr 2}${font}
${voffset -12}${goto 22}${font Droid:size=20}${color}${time %H}${color}${voffset 0}${time :%M}${font}${voffset -14}${font Liberation Sans:style=Bold:size=10}${color}${time :%S}${color}${font}
${voffset 10}${goto 120}${font Droid Sans:style=Bold:size=14}${color}${time %A}${color}${font}
${font style=bold}CALENDÁRIO ${hr 2}${font}
${font DejaVu Sans:pixelsize=14:style=Bold}${alignc}${execi 60 date +"%B %Y" | tr "[:lower:]" "[:upper:]"}${font Snap.se:size=8 }${font}
${font DejaVu Sans Mono:size=10}${execpi 60 cal | sed '1d' | sed '3d' | sed '2d' | sed '2d' | sed '2d' | sed '2d' | sed '2d' | sed 's/^/${alignc} /'}${font}
${font DejaVu Sans Mono:size=10}${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 "/" "'${color3}''${font DejaVu Sans Mono:style=bold:size=10}'"$DJS"'${color2}''${font DejaVu Sans Mono:size=10}'" "/}${font}
${font style=bold}SISTEMA ${hr 2}${font}
${voffset 1}${font OpenLogos:size=16}${font} Kernel: ${alignr}${kernel}
${font Droid:size=16}${font} CPU1: ${color3}${execi 4 sensors | grep -A 0 'Core 0' | cut -c15-18} ${color2}${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font Droid:size=16}${font} CPU2: ${color3}${execi 4 sensors | grep -A 0 'Core 1' | cut -c15-18} ${color2}${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font Droid:size=16}${font} RAM: $memperc% ${alignr}${membar 8,60}
${font Droid:size=16}${font} SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font Droid:size=16}${font} Ligado: ${alignr}${uptime}
${font Droid:size=16}${font} CPU Temp: ${alignr}${acpitemp}ºC
${font style=bold}HD ${hr 2}${font}
/home: $alignr ${fs_used /home/} / ${fs_size /home} ($alignr${fs_free_perc /home}%)
${fs_bar 4 /home}
/windows: $alignr ${fs_used /media/OS} / ${fs_size /media/OS} ($alignr${fs_free_perc /media/OS}%)
${fs_bar 4 /media/OS}
${font style=bold}REDE ${hr 2}${font}
${voffset -6}${font PizzaDude Bullets:size=14}${font} Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph ppp0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph ppp0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}${font} Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}${font} Download: ${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=14}${font} Ip Local: ${alignr}${addr eth0}
Bookmarks