› Foros › PC › Software libre
amuchamu escribió:Prueba lo que ha dicho OM3G4.
OM3G4 escribió:Creo que lo he leido en este mismo hilo pero soy incapaz de encontrarlo. Siento repetirlo pero, como digo, lo he buscado y no lo encuentro.
¿Cómo pongo varios scripts de conky?
Quiero mantener el de la derecha con la información global del sistema pero quiero añadir en una esquina otro para el tiempo y no sé como hacerlo.
Un saludo
# 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
#!/bin/bash
conky -c config1 &
conky -c config2 &
conky -c config3 &
conky -c config4
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=7
xftalpha 0.8
text_buffer_size 2048
# Update interval in seconds
update_interval 5
# 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 300 0
maximum_width 300
# 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 ffffff
#default_shade_color black
#default_outline_color white
own_window_colour ffffff
# 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 965
gap_y 0
# 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
Procesos ${hr 2}
${alignr 76}PID ${alignr 38}CPU ${alignr 0}RAM
1 ${top name 1} ${alignr 59}${top pid 1} ${alignr 30}${top cpu 1} ${alignr}${top mem 1}
2 ${top name 2} ${alignr 59}${top pid 2} ${alignr 30}${top cpu 2} ${alignr}${top mem 2}
3 ${top name 3} ${alignr 59}${top pid 3} ${alignr 30}${top cpu 3} ${alignr}${top mem 3}
4 ${top name 4} ${alignr 59}${top pid 4} ${alignr 30}${top cpu 4} ${alignr}${top mem 4}
5 ${top name 5} ${alignr 59}${top pid 5} ${alignr 30}${top cpu 5} ${alignr}${top mem 5}
6 ${top name 6} ${alignr 59}${top pid 6} ${alignr 30}${top cpu 6} ${alignr}${top mem 6}
7 ${top name 7} ${alignr 59}${top pid 7} ${alignr 30}${top cpu 7} ${alignr}${top mem 7}
8 ${top name 8} ${alignr 59}${top pid 8} ${alignr 30}${top cpu 8} ${alignr}${top mem 8}
9 ${top name 9} ${alignr 59}${top pid 9} ${alignr 30}${top cpu 9} ${alignr}${top mem 9}
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=7
xftalpha 0.8
text_buffer_size 2048
# 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
LOCALE = en
# 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 220 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 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 15
gap_y 0
# 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
${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
${alignc}${time %A %d %Y}
Sistema ${hr 2}
${voffset 2}${font OpenLogos:size=16}u${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=16}A${font} CPU0 @ ${freq_g cpu0} Ghz:${alignr}${cpu cpu0}% ${alignr}${cpubar 8,60 cpu0}
${font StyleBats:size=16}A${font} CPU1 @ ${freq_g cpu1} Ghz:${alignr}${cpu cpu1}% ${alignr}${cpubar 8,60 cpu1}
${font StyleBats:size=16}g${font} Ram:${alignr}$memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font} Swap:${alignr}0% ${alignr}${swapbar 8,60}
${font Webdings:size=16}~${font} Batería:${alignr}${battery_percent ACAD}% ${alignr}${battery_bar 8,60 ACAD}
${font StyleBats:size=16}y${font} Sistema: ${alignr}${acpitemp}°C
${font StyleBats:size=16}k${font} GPU: ${alignr}${execi 20 nvidia-settings -q gpucoretemp |grep Attribute |awk '{print $4}' |cut -c1-2}°C
${font StyleBats:size=16}q${font} Actividad: ${alignr}${uptime}
Almacenamiento ${hr 2}
${voffset 8}${font Pie charts for maps:size=14}7${font} ${voffset -14}Ubuntu 9.04${alignr}${fs_used /}/${fs_size /}
${voffset 2}${alignr}${fs_bar 8,200 /}
${font Pie charts for maps:size=14}7${font} ${voffset -14}Windows XP${alignr}${fs_used /media/Windows XP}/${fs_size /media/Windows XP}
${voffset 2}${alignr}${fs_bar 8,200 /media/Windows XP}
${font Pie charts for maps:size=14}7${font} ${voffset -14}Wndows 7${alignr}${fs_used /media/Windows 7}/${fs_size /media/Windows 7}
${voffset 2}${alignr}${fs_bar 8,200 /media/Windows 7}
${font Pie charts for maps:size=14}7${font} ${voffset -14}Datos${alignr}${fs_used /media/Windows 7}/${fs_size /media/Datos}
${voffset 2}${alignr}${fs_bar 8,200 /media/Datos}
Red ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font} Señal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Ip Local: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Ip Pública: ${alignr}${execi 1 ~/scripts/ip.sh}
${voffset -8}${font Martin Vogel's Symbols:size=19}B${font} Correo: ${alignr}${font DejaVu Sans:style=Bold:size=8}${execi 600 conkyEmail --servertype=POP --servername=pop.mail.yahoo.com --username=correo --password=pass --ssl}${font} Nuevo(s) email(s)
${else}${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Ip Local: ${alignr}${addr eth0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Ip Pública: ${alignr}${execi 1 ~/scripts/ip.sh}
${voffset -8}${font Martin Vogel's Symbols:size=19}B${font} Correo: ${alignr}${font DejaVu Sans:style=Bold:size=8}${execi 600 conkyEmail --servertype=POP --servername=pop.mail.yahoo.com --username=correo --password=pass --ssl}${font} Nuevo(s) email(s)
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth1}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth1}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Ip Local: ${alignr}${addr eth1}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Ip Pública: ${alignr}${execi 1 ~/scripts/ip.sh}
${voffset -8}${font Martin Vogel's Symbols:size=19}B${font} Gmail: ${alignr}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Red No disponible
${endif}
El tiempo en Zamora ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=SPXX0229 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0229 --datatype=HT}${font}
${voffset 0}${alignc 63}${execpi 600 conkyForecast --location=SPXX0229 --datatype=DW --startday=1 --shortweekday} ${alignc 15}${execpi 600 conkyForecast --location=SPXX0229 --datatype=DW --startday=2 --shortweekday} ${alignc -35}${execpi 600 conkyForecast --location=SPXX0229 --datatype=DW --startday=3 --shortweekday} ${alignc -85}${execpi 600 conkyForecast --location=SPXX0229 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 95}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0229 --datatype=WF --startday=1 --endday=4 --spaces=3}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 80}${execpi 600 conkyForecast --location=SPXX0229 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0229 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -5}${execpi 600 conkyForecast --location=SPXX0229 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0229 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -50}${execpi 600 conkyForecast --location=SPXX0229 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0229 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SPXX0229 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0229 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${else}${if_existing /proc/net/route eth0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=SPXX0229 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0229 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SPXX0229 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SPXX0229 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SPXX0229 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=SPXX0229 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 55}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0229 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SPXX0229 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0229 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SPXX0229 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0229 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SPXX0229 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0229 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SPXX0229 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0229 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -10}${alignr -56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=SPXX0229 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0229 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SPXX0229 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SPXX0229 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SPXX0229 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=SPXX0229 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc -75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0229 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SPXX0229 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0229 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SPXX0229 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0229 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SPXX0229 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0229 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SPXX0229 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0229 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Tiempo No disponible
${endif}
Arisco escribió:kObr4, own_window_type override y no deberian salirte las sombras, si ya lo tienes así no se que puede ser ...
use_xft yes
xftfont Resea:size=8
override_utf8_locale yes
text_buffer_size 1024
update_interval 1
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 1
cpu_avg_samples 1
own_window_class Conky
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
default_color cccccc
draw_shades no
color0 white
color1 E07A1F
color2 white
alignment top_right
gap_x 250
gap_y 700
minimum_size 182 0
maximum_width 182
imlib_cache_size 0
double_buffer yes
draw_borders no
draw_graph_borders no
draw_shades no
draw_outline no
# Ab hier beginnt der Anzeigeteil
TEXT
${voffset 10}${color3}${font Resea:bold:size=84}${alignr}${time %H}'
use_xft yes
xftfont Liberation Sans:size=8
override_utf8_locale yes
text_buffer_size 1024
update_interval 1
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 1
cpu_avg_samples 1
own_window_class Conky
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
default_color cccccc
draw_shades no
color white
color1 E07A1F
color2 white
alignment top_right
gap_x 68
gap_y 700
minimum_size 182 0
maximum_width 182
imlib_cache_size 0
double_buffer yes
draw_borders no
draw_graph_borders no
draw_shades no
draw_outline no
# Ab hier beginnt der Anzeigeteil
TEXT
${voffset 10}${color1}${font Resea:bold:size=84}${time %M}
use_xft yes
xftfont Liberation Sans:size=8
override_utf8_locale yes
text_buffer_size 1024
update_interval 1
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 1
cpu_avg_samples 1
own_window_class Conky
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
default_color cccccc
draw_shades no
color0 white
color1 E07A1F
color2 white
imlib_cache_size 0
# Layout
alignment top_left
gap_x 1100
gap_y 580
maximum_width 350
minimum_size 350,500
TEXT
${color3}${font Resea:size=34}${voffset 12}${time %d}${color1}${font Resea:bold:size=20}${voffset -11}${offset 6}${time %B}
${color1}${font Resea:bold:size=34}${voffset 8}${time %A}
use_xft yes
xftfont Liberation Sans:size=8
override_utf8_locale yes
text_buffer_size 1024
update_interval 1
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 1
cpu_avg_samples 1
own_window_class Conky
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
default_color cccccc
draw_shades no
color0 white
color1 E07A1F
color2 white
imlib_cache_size 0
# Layout
alignment top_left
gap_x 1380
gap_y 740
maximum_width 67
minimum_size 67,10
TEXT
${voffset 0}${color3}${font Resea:bold:size=9}CPU${color1}${alignr}${cpu cpu1}%
${voffset 1}${color3}${font Resea:bold:size=9}CPU${color1}${alignr}${cpu cpu2}%
${voffset 1}${color3}${font Resea:bold:size=9}RAM${color1}${alignr}${memperc}%
${voffset 3}${color3}${font Resea:bold:size=9}DWN${color1}${alignr}${downspeedf eth0}K
${voffset 1}${color3}${font Resea:bold:size=9}UP${color1}${alignr}${upspeedf eth0}K
use_xft yes
xftfont Champagene & Limousines:size=9
override_utf8_locale yes
text_buffer_size 1024
update_interval 1
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 1
cpu_avg_samples 1
own_window_class Conky
own_window yes
own_window_colour 666666
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
default_color D8D8D8
draw_borders no
border_width 1
border_margin 10
draw_graph_borders yes
draw_outline no
draw_shades no
color0 E6E6E6
color1 FFFFFF
color2 E6E6E6
alignment top_right
gap_x 25
gap_y 50
minimum_size 182 0
maximum_width 182
imlib_cache_size 0
TEXT
#FECHA
${font Champagene & Limousines:style=Bold:size=10}Fecha ${hr 2}${font}
${voffset 0}${goto 28}${font Champagene & Limousines:style=Bold:size=40}${color2}${time %H}${color}${font}${voffset -26}${font Liberation Sans:style=Bold:size=11}${color2}${time :%M}${time :%S}${color}${font}
${voffset 2}${goto 95}${time %d %B %Y}
#SISTEMA
${font Champagene & Limousines:style=Bold:size=10}Sistema ${hr 2}${font}
${voffset 2}${font OpenLogos:size=18}t${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=16}A${font} CPU ${freq_g cpu0}:${alignr}${cpu cpu0}% ${alignr}${cpubar 8,60 cpu0}
${font StyleBats:size=16}g${font} Ram:${alignr}$memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}y${font} Sistema: ${alignr}${acpitemp}°C
${font StyleBats:size=16}k${font} GPU: ${alignr}${execi 20 nvidia-settings -q gpucoretemp |grep Attribute |awk '{print $4}' |cut -c1-2}°C
${font StyleBats:size=16}q${font} Actividad: ${alignr}${uptime}
${font StyleBats:size=16}q${font} Actualizaciones:${alignr}${execi 360 aptitude search "~U" | wc -l | tail}
#HD
${font Champagene & Limousines:style=Bold:size=10}Almacenamiento ${hr 2}${font}
${voffset 8}${font Pie charts for maps:size=14}7${font} ${voffset -14}Debian${alignr}${fs_used /}/${fs_size /}
${voffset 2}${alignr}${fs_bar 6,155 /}
${font Pie charts for maps:size=14}7${font} ${voffset -14}Windows${alignr}${fs_used /media/win}/${fs_size /media/win}
${voffset 2}${alignr}${fs_bar 6,155 /media/win}
${font Pie charts for maps:size=14}7${font} ${voffset -14}Datos${alignr}${fs_used /media/datos}/${fs_size /media/datos}
${voffset 2}${alignr}${fs_bar 6,155 /media/datos}
${font Champagene & Limousines:style=Bold:size=10}RED ${hr 2}${font}
${if_existing /proc/net/route wlan0}
${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 38}${voffset -6}Envío:${alignr}${upspeedgraph wlan0 8,60 CE5C00 FFFFFF}${color}
${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 38}${voffset -6}Recibo: ${font Liberation Sans:style=Bold:size=8}${color1}${downspeed wlan0}${color}${font} ${alignr}${color2}${downspeedgraph wlan0 8,60 CE5C00 E07A1F}${color}
${goto 38}Enviado: ${color2}${totalup wlan0}${color}
${goto 38}Recibido: ${color2}${totaldown wlan0}${color}
${voffset -2}${color0}${font Poky:size=14}Y${font}${color}${goto 38} ${voffset -2}Señal: ${font Liberation Sans:style=Bold:size=8}${color1}${wireless_link_qual wlan0}%${color}${font} ${alignr}${color2}${wireless_link_bar 8,60 wlan0}${color}
${voffset 4}${color0}${font Poky:size=13}w${font}${color}${goto 38}${voffset -8}Ip Local: ${alignr}${color2}${addr wlan0}${color}
${goto 38}Ip Pública: ${alignr}${color2}${execi 10800 ~/.conky/ip.sh}${color}
${else}${if_existing /proc/net/route eth0}
${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 38}${voffset -6}Envío: ${font Liberation Sans:style=Bold:size=8}${color1}${upspeed eth0}${color}${font} ${alignr}${color2}${upspeedgraph eth0 8,60 CE5C00 E07A1F}${color}
${goto 38}Total: ${color2}${totalup eth0}${color}
${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 38}${voffset -6}Recibo: ${font Liberation Sans:style=Bold:size=8}${color1}${downspeed eth0}${color}${font} ${alignr}${color2}${downspeedgraph eth0 8,60 CE5C00 E07A1F}${color}
${goto 38}Total: ${color2}${totaldown eth0}${color}
${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 38}${voffset -4}Ip Local: ${alignr}${color2}${addr eth0}${color}
${goto 38}Ip Pública: ${alignr}${color2}${execi 10800 ~/.conky/ip.sh}${color}
${endif}${else}${if_existing /proc/net/route ppp0}
${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 38}${voffset -6}Envío: ${font Liberation Sans:style=Bold:size=8}${color1}${upspeed ppp0}${color}${font} ${alignr}${color2}${upspeedgraph ppp0 8,60 CE5C00 E07A1F}${color}
${goto 38}Total: ${color2}${totalup ppp0}${color}
${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 38}${voffset -6}Recibo: ${font Liberation Sans:style=Bold:size=8}${color1}${downspeed ppp0}${color}${font} ${alignr}${color2}${downspeedgraph ppp0 8,60 CE5C00 E07A1F}${color}
${goto 38}Total: ${color2}${totaldown ppp0}${color}
${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 38}${voffset -4}Ip Local: ${alignr}${color2}${addr ppp0}${color}
${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 38}Red no disponible${endif}${endif}
${voffset -8}${font Liberation Sans:style=Bold:size=8}CLIMA $stippled_hr${font}
${if_existing /proc/net/route wlan0}
${execpi 10800 ~/.conky/conkyForecast.py --location=SPXX0200 -t ~/.conky/conkyForecast.template}
${else}${if_existing /proc/net/route eth0}
${execpi 10800 ~/.conky/conkyForecast.py --location=SPXX0200 -t ~/.conky/conkyForecast.template}
${endif}${else}${if_existing /proc/net/route ppp0}
${execpi 10800 ~/.conky/conkyForecast.py --location=SPXX0200 -t ~/.conky/conkyForecast.template}
${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 38}Clima no disponible${endif}${endif}
maximum_width 182
maximum_width 1000
use_xft yes
xftfont Champagene & Limousines:size=9
override_utf8_locale yes
text_buffer_size 1024
update_interval 1
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 1
cpu_avg_samples 1
own_window_class Conky
own_window yes
own_window_colour 666666
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
default_color D8D8D8
draw_borders no
border_width 1
border_margin 10
draw_graph_borders yes
draw_outline no
draw_shades no
color0 E6E6E6
color1 FFFFFF
color2 E6E6E6
alignment top_right
gap_x 25
gap_y 50
minimum_size 182 0
maximum_width 1000
imlib_cache_size 0
TEXT
#FECHA
${font Champagene & Limousines:style=Bold:size=10}Fecha ${hr 2}${font}
${voffset 0}${goto 28}${font Champagene & Limousines:style=Bold:size=40}${color2}${time %H}${color}${font}${voffset -26}${font Liberation Sans:style=Bold:size=11}${color2}${time :%M}${time :%S}${color}${font}
${voffset 2}${goto 95}${time %d %B %Y}
#SISTEMA
${font Champagene & Limousines:style=Bold:size=10}Sistema ${hr 2}${font}
${voffset 2}${font OpenLogos:size=18}t${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=16}A${font} CPU ${freq_g cpu0}:${alignr}${cpu cpu0}% ${alignr}${cpubar 8,60 cpu0}
${font StyleBats:size=16}g${font} Ram:${alignr}$memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}y${font} Sistema: ${alignr}${acpitemp}°C
${font StyleBats:size=16}k${font} GPU: ${alignr}${execi 20 nvidia-settings -q gpucoretemp |grep Attribute |awk '{print $4}' |cut -c1-2}°C
${font StyleBats:size=16}q${font} Actividad: ${alignr}${uptime}
${font StyleBats:size=16}q${font} Actualizaciones:${goto 210}${execi 360 aptitude search "~U" | wc -l | tail}
#HD
${font Champagene & Limousines:style=Bold:size=10}Almacenamiento ${hr 2}${font}
${voffset 8}${font Pie charts for maps:size=14}7${font} ${voffset -14}Debian${alignr}${fs_used /}/${fs_size /}
${voffset 2}${alignr}${fs_bar 6,155 /}
${font Pie charts for maps:size=14}7${font} ${voffset -14}Windows${alignr}${fs_used /media/win}/${fs_size /media/win}
${voffset 2}${alignr}${fs_bar 6,155 /media/win}
${font Pie charts for maps:size=14}7${font} ${voffset -14}Datos${alignr}${fs_used /media/datos}/${fs_size /media/datos}
${voffset 2}${alignr}${fs_bar 6,155 /media/datos}
${font Champagene & Limousines:style=Bold:size=10}Red ${hr 2}${font}
${if_existing /proc/net/route wlan0}
${else}${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Subido: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Descargado: ${alignr}${totaldown eth0}
${voffset 4}${font Poky:size=14}w${font} Ip Local: ${alignr}${addr eth0}
${voffset 4}${font Poky:size=14}w${font} Ip Pública: ${alignr}${execi 1 ~/.conky/ip.sh}
${endif}${else}${if_existing /proc/net/route ppp0}
${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 38}${voffset -6}Envío: ${font Liberation Sans:style=Bold:size=8}${color1}${upspeed ppp0}${color}${font} ${alignr}${color2}${upspeedgraph ppp0 8,60 CE5C00 E07A1F}${color}
${goto 38}Total: ${color2}${totalup ppp0}${color}
${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 38}${voffset -6}Recibo: ${font Liberation Sans:style=Bold:size=8}${color1}${downspeed ppp0}${color}${font} ${alignr}${color2}${downspeedgraph ppp0 8,60 CE5C00 E07A1F}${color}
${goto 38}Total: ${color2}${totaldown ppp0}${color}
${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 38}${voffset -4}Ip Local: ${alignr}${color2}${addr ppp0}${color}
${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 38}Red no disponible${endif}${endif}
${font Champagene & Limousines:style=Bold:size=10}Clima ${hr 2}${font}
${if_existing /proc/net/route wlan0}
${execpi 10800 ~/.conky/conkyForecast.py --location=SPXX0200 -t ~/.conky/conkyForecast.template}
${else}${if_existing /proc/net/route eth0}
${execpi 10800 ~/.conky/conkyForecast.py --location=SPXX0200 -t ~/.conky/conkyForecast.template}
${endif}${else}${if_existing /proc/net/route ppp0}
${execpi 10800 ~/.conky/conkyForecast.py --location=SPXX0200 -t ~/.conky/conkyForecast.template}
${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 38}Clima no disponible${endif}${endif}
pasteles escribió:Ok y para aumentar el ancho?
es eso que tengo de 182 y 0?
PD: Tengo un problema con el tiempo, no me aparece nada.El archivo de configuración que tengo es:use_xft yes
xftfont Champagene & Limousines:size=9
override_utf8_locale yes
text_buffer_size 1024
update_interval 1
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 1
cpu_avg_samples 1
own_window_class Conky
own_window yes
own_window_colour 666666
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
default_color D8D8D8
draw_borders no
border_width 1
border_margin 10
draw_graph_borders yes
draw_outline no
draw_shades no
color0 E6E6E6
color1 FFFFFF
color2 E6E6E6
alignment top_right
gap_x 25
gap_y 50
minimum_size 182 0
maximum_width 1000
imlib_cache_size 0
TEXT
#FECHA
${font Champagene & Limousines:style=Bold:size=10}Fecha ${hr 2}${font}
${voffset 0}${goto 28}${font Champagene & Limousines:style=Bold:size=40}${color2}${time %H}${color}${font}${voffset -26}${font Liberation Sans:style=Bold:size=11}${color2}${time :%M}${time :%S}${color}${font}
${voffset 2}${goto 95}${time %d %B %Y}
#SISTEMA
${font Champagene & Limousines:style=Bold:size=10}Sistema ${hr 2}${font}
${voffset 2}${font OpenLogos:size=18}t${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=16}A${font} CPU ${freq_g cpu0}:${alignr}${cpu cpu0}% ${alignr}${cpubar 8,60 cpu0}
${font StyleBats:size=16}g${font} Ram:${alignr}$memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}y${font} Sistema: ${alignr}${acpitemp}°C
${font StyleBats:size=16}k${font} GPU: ${alignr}${execi 20 nvidia-settings -q gpucoretemp |grep Attribute |awk '{print $4}' |cut -c1-2}°C
${font StyleBats:size=16}q${font} Actividad: ${alignr}${uptime}
${font StyleBats:size=16}q${font} Actualizaciones:${goto 210}${execi 360 aptitude search "~U" | wc -l | tail}
#HD
${font Champagene & Limousines:style=Bold:size=10}Almacenamiento ${hr 2}${font}
${voffset 8}${font Pie charts for maps:size=14}7${font} ${voffset -14}Debian${alignr}${fs_used /}/${fs_size /}
${voffset 2}${alignr}${fs_bar 6,155 /}
${font Pie charts for maps:size=14}7${font} ${voffset -14}Windows${alignr}${fs_used /media/win}/${fs_size /media/win}
${voffset 2}${alignr}${fs_bar 6,155 /media/win}
${font Pie charts for maps:size=14}7${font} ${voffset -14}Datos${alignr}${fs_used /media/datos}/${fs_size /media/datos}
${voffset 2}${alignr}${fs_bar 6,155 /media/datos}
${font Champagene & Limousines:style=Bold:size=10}Red ${hr 2}${font}
${if_existing /proc/net/route wlan0}
${else}${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Subido: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Descargado: ${alignr}${totaldown eth0}
${voffset 4}${font Poky:size=14}w${font} Ip Local: ${alignr}${addr eth0}
${voffset 4}${font Poky:size=14}w${font} Ip Pública: ${alignr}${execi 1 ~/.conky/ip.sh}
${endif}${else}${if_existing /proc/net/route ppp0}
${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 38}${voffset -6}Envío: ${font Liberation Sans:style=Bold:size=8}${color1}${upspeed ppp0}${color}${font} ${alignr}${color2}${upspeedgraph ppp0 8,60 CE5C00 E07A1F}${color}
${goto 38}Total: ${color2}${totalup ppp0}${color}
${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 38}${voffset -6}Recibo: ${font Liberation Sans:style=Bold:size=8}${color1}${downspeed ppp0}${color}${font} ${alignr}${color2}${downspeedgraph ppp0 8,60 CE5C00 E07A1F}${color}
${goto 38}Total: ${color2}${totaldown ppp0}${color}
${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 38}${voffset -4}Ip Local: ${alignr}${color2}${addr ppp0}${color}
${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 38}Red no disponible${endif}${endif}
${font Champagene & Limousines:style=Bold:size=10}Clima ${hr 2}${font}
${if_existing /proc/net/route wlan0}
${execpi 10800 ~/.conky/conkyForecast.py --location=SPXX0200 -t ~/.conky/conkyForecast.template}
${else}${if_existing /proc/net/route eth0}
${execpi 10800 ~/.conky/conkyForecast.py --location=SPXX0200 -t ~/.conky/conkyForecast.template}
${endif}${else}${if_existing /proc/net/route ppp0}
${execpi 10800 ~/.conky/conkyForecast.py --location=SPXX0200 -t ~/.conky/conkyForecast.template}
${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 38}Clima no disponible${endif}${endif}
He comprobado que en el directorio ~/.conky/conkyForecast.py , tengo ese archivo y lo tengo pero no tengo el de: ~/.conky/conkyForecast.template.
Decir que ya he puesto el código de mi ciudad
Conky 1.7.1.1 compiled Thu Jul 9 09:47:40 IST 2009 for Linux 2.6.26 (i686)
Compiled in features:
System config file: /etc/conky/conky.conf
X11:
* Xdamage extension
* XDBE (double buffer extension)
* Xft
Music detection:
* MPD
* MOC
General:
* math
* hddtemp
* portmon
* RSS
* wireless
* support for IBM/Lenovo notebooks
* config-output
* ALSA mixer support
* apcupsd
pasteles escribió:Esto lo que me ha salido:Conky 1.7.1.1 compiled Thu Jul 9 09:47:40 IST 2009 for Linux 2.6.26 (i686)
Compiled in features:
System config file: /etc/conky/conky.conf
X11:
* Xdamage extension
* XDBE (double buffer extension)
* Xft
Music detection:
* MPD
* MOC
General:
* math
* hddtemp
* portmon
* RSS
* wireless
* support for IBM/Lenovo notebooks
* config-output
* ALSA mixer support
* apcupsd
He instalado libimlib2. El paquete conky que tengo instalado no es compilado sino precompilado de debian. ¿Cómo puedo compilarlo?
pasteles escribió:Bueno me voy a bajar las fuentes y voy a compilarlo con esa opción. ¿Tengo que poner alguna opción más?
conky 1.7.2 configured successfully:
Installing into: /usr/local
System config dir: ${prefix}/etc
C compiler flags: -I/usr/include/lua5.1 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wall -W
Libraries: -lm -lX11 -lImlib2 -llua5.1 -lXext -lXdamage -lXfixes -lXft -lglib-2.0 -lasound -lrt
Linker flags: -Wl,-O1
* X11:
X11 support: yes
XDamage support: yes
XDBE support: yes
Xft support: yes
* Music detection:
Audacious: no
BMPx: no
MPD: yes
MOC: yes
XMMS2: no
* General:
OpenMP:
math: yes
hddtemp: yes
portmon: yes
RSS: no
Curl: no
Weather
METAR: no
XOAP: no
wireless: no
IBM: no
nvidia: no
eve-online: no
config-output: yes
Imlib2: yes
ALSA mixer: yes
apcupsd: yes
I/O stats: yes
* Lua (yes) bindings:
Cairo: no
Imlib2: no
${voffset 16}${alignc}${exec cp "`conkyBanshee --datatype=CA | sed -e 's/\\\//g'`" /home/migue/.album}${image /home/migue/.album -p 0,2 -s 64x64}
${voffset 16}${alignc}${exec cp "`conkyBanshee --datatype=CA | sed -e 's/\\\//g'`" /home/migue/.album -u 1}${image /home/migue/.album -p 0,2 -s 64x64 -u 1}
${voffset 16}${alignc}${texeci 5 rm /home/migue/.album}${texeci 1 cp -u -f "`conkyBanshee --datatype=CA | sed -e 's/\\\//g'`" /home/migue/.album }${image /home/migue/.album -p 0,2 -s 64x64 -f 1}
k0br4 escribió:Un par de dudillas, ¿como seria para que cuando copiara sobreescribiera? y para que borrara SOLO cuando cambia de cancion?
4s|m3tr|ko0 escribió:k0br4 escribió:Un par de dudillas, ¿como seria para que cuando copiara sobreescribiera? y para que borrara SOLO cuando cambia de cancion?
teóricamente, el "-f" que le metes al cp, debería sobreescribir. Para la segunda opción, estaba pensando que quizás sería mejor que en vez de copiar la imagen a un archivo oculto concreto, mandase la ruta de la imagen a un archivo oculto, y luego se encargase de recuperarla con un {image {exec cat ruta/al/fichero/que/contiene/la/ruta} -p 0,2 -s 64x64}, así no andarías moviendo tanto dato, no obstante no lo he probado y no sé siquiera si funcionará, lo pruebo y te lo confirmo.
Por otro lado, "texeci" sirve para ejecutar scripts en el propio hilo principal de conky, y es útil si se trata de scripts chungos y largos, que tarden buen tiempo en ejecutarse, si no es así, se recomienda "execi". Igual te vendría mejor hacer un shell script a parte que hiciese la copia de la imagen, ejecutarlo desde .conkyrc, y luego mostrar la imagen. Más limpio seguro que te quedaba.
Edito: Pues no, no funciona, parece que {image} sólo puede coger rutas estáticas... qué palo. No obstante, lo de llevártelo todo a un shell script a parte me sigue pareciendo buena idea... ¿Y algún plugin para tu reproductor que coloque la cover en el escritorio?, es cutre, pero si lo encajas bien, te olvidarías de andar haciendo chapuzas con conky.
${font Champagene & Limousines:style=Bold:size=10}Correo ${hr 2}${font}
${execi 1800 conkyEmail ...--servertype=imap --servername=imap.gmail.com --username=***** --password=****** --mailinfo=2 --maxwidth=20}
Arisco escribió:Vaya jaleo te traes con las sombras
Puedes dejarlo en override y luego hacerlo transparente con shift + rueda del raton... hacer transparente el fondo de conky solo lo vas a poder hacer con conky, compiz te da transparencia a todo conky.
Edito: Lo que decía del shift no vale, creo que lo que quieres es el fondo de conky invisible y lo demás transparente no?
Arisco escribió:Esta muy chulo
Para que xftalpha haga algo tienes que poner un valor entre 0 y 1, 0 invaisibol y 1 opaco y solo afecta a las fuentes, 0.5 por ejemplo. ¿Al final has tirado de compiz? porque yo creo que lo podrías hacer igual con el mismo conky. Podrías enseñar los conkyrc que me voy a agenciar el del tiempo, si no te importa vamos
Saludos
## Conky
background yes
xftalpha 0.5
out_to_console no
top_cpu_separate yes
max_port_monitor_connections 256
cpu_avg_samples 1
net_avg_samples 1
update_interval 1
# Text
uppercase no
override_utf8_locale yes
font Bitstream Charter:style=Regular
use_xft yes
xftfont Vibrocentric:size=10
# Window
own_window yes
own_window_class Conky
own_window_transparent true
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type normal
own_window_colour ffffff
# Grafik
double_buffer yes
draw_borders no
draw_graph_borders no
draw_shades no
draw_outline no
# Layout
alignment bottom_right
gap_x 58
gap_y 0
maximum_width 90
minimum_size 90,10
# Farben
color1 ffffff #dunkelgrau
color2 ffffff #hellgrau
color3 BEF0FF #96FDFF #blau
color7 00ff00 #grün
color8 ffff00 #gelb
color9 ff0000 #rot
default_shade_color CACACA # schwarz ;)
default_outline_color bbbbbb
default_color ffffff # weiß ;)
# Ab hier beginnt der Anzeigeteil
TEXT
${voffset 7}${color3}${font Kontrapunkt:bold:size=44}${alignr}${time %H}
## Conky
background yes
out_to_console no
top_cpu_separate yes
max_port_monitor_connections 256
cpu_avg_samples 1
net_avg_samples 1
update_interval 1
# Text
uppercase no
override_utf8_locale yes
font Bitstream Charter:style=Regular
use_xft yes
xftfont Vibrocentric:size=10
# Window
own_window yes
own_window_class Conky
own_window_transparent true
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type normal
own_window_colour 000000
# Grafik
double_buffer yes
draw_borders no
draw_graph_borders no
draw_shades no
draw_outline no
# Layout
alignment bottom_right
gap_x 4
gap_y 0
minimum_size 155,10
maximum_width 155
# Farben
color1 ffffff #dunkelgrau
color2 ffffff #hellgrau
color3 BEF0FF #96FDFF #blau
color7 00ff00 #grün
color8 ffff00 #gelb
color9 ff0000 #rot
default_shade_color CACACA # schwarz ;)
default_outline_color bbbbbb
default_color ffffff # weiß ;)
# Ab hier beginnt der Anzeigeteil
TEXT
${voffset 7}${color1}${font Kontrapunkt:bold:size=44}${alignr}${time %M}
# Use Xft?
#SPXX0052
use_xft yes
xftfont DejaVu Sans:size=6
xftalpha 0.8
text_buffer_size 2048
# 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
LOCALE = en
# 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 10 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_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 470
gap_y 25
# 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
color2 140F0B
color1 140F0B
color3 140F0B
# 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
${execpi 1800 conkyForecast --location=SPXX0052 --template=/home/migue/conky/Forecast/conkyForecast.template}
${goto 10}${color1}${font ConkyWeather:style=Bold:size=36}[--datatype=WF]${font}
${goto 20}${color2}[--datatype=HT --hideunits --centeredwidth=3]/[--datatype=LT --hideunits --centeredwidth=3]
${voffset 45}${goto 90}${voffset -95}[--datatype=DW --startday=1 --shortweekday]${goto 140}[--datatype=DW --startday=2 --shortweekday]${goto 190}[--datatype=DW --startday=3 --shortweekday]${goto 240}[--datatype=DW --startday=4 --shortweekday]
${goto 85}${color1}${font ConkyWeather:size=22}[--datatype=WF --startday=1 --endday=4 --spaces=3]${font}
${voffset -45}${goto 280}${color2}${font resea:style=Bold:size=12}[--datatype=CT]${font}
${goto 280}${font resea:size=8}${color3}Lluvia: ${color1}[--datatype=PC]//${goto 342}${color3}Presión: ${color1}[--datatype=BR] - [--datatype=BD]
${goto 280}${color3}Franja solar: ${color1}[--datatype=SR]//[--datatype=SS] /${goto 410}${color3}Humedad: ${color1}[--datatype=HM]
${goto 280}${color3}${color1}[--datatype=MP]//${goto 370}${color3}T. Minima: ${color1}[--datatype=DP]
Arisco escribió:Entonces si usases own_window_type override y xftalpha no harías exactamente lo mismo sin liarla con compiz?
Voy a probar a ver que sucede...
Palyh escribió:Como se puede ejecutar varios scripts a la vez?
Porque me encanta el de k0br4 y son 4 scripts :S
conky -c archivo_de_configuración
#!/bin/bash
conky -c config1 &
conky -c config2 &
conky -c config3
sleep 15s && conky -c /home/migue/conky/cnk_w/conky && conky -c /home/migue/conky/cnk_w/conkyxx
zagal escribió:M... Estoy hasta los [palabra mal sonante] de conkyForecast... no consigo que me de las temperaturas y esas cosas pero... si hago un " conky -c /usr/share/conkyforecast/example/conkyrc &" si que funciona "solo las temperaturas" no el resto de conky... ya no sé que hacer, algún consejo antes de que me vuelva loco? xD
Omega69 escribió:# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048
# 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
LOCALE = en
# 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 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 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 50
# 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
${alignc 35}${color white}${font pucela:size=70}V$font$color$alignc
${color red}${font openlogos:size=40}K${color orange}${font impact:bold size=30} Ubuntu Intrepid Ibex$font$color
SISTEMA ${hr 2}
${voffset 2}${font OpenLogos:size=16}u${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=16}A${font} CPU0: ${cpu cpu0}% ${alignr}${cpubar 8,60 cpu0}
${font StyleBats:size=16}A${font} CPU1: ${cpu cpu1}% ${alignr}${cpubar 8,60 cpu1}
${font StyleBats:size=16}g${font} RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font} SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font Webdings:size=16}~${font} Batería: ${battery_percent BAT0}% ${alignr}${battery_bar 8,60 BAT0}
${font StyleBats:size=16}q${font} Actividad: ${alignr}${uptime}
HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font} ${voffset -5}Home:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font Pie charts for maps:size=14}7${font} ${voffset -5}Disco 750GB
${voffset 4}${fs_used /media/750Gb}/${fs_size /media/750Gb} ${alignr}${fs_bar 8,60 /media/750Gb}
${font Pie charts for maps:size=14}7${font} ${voffset -5}Disco D
${voffset 4}${fs_used /media/disk}/${fs_size /media/disk} ${alignr}${fs_bar 8,60 /media/disk}
RED ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font} Señal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Ip Local: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Ip Pública: ${alignr}${execi 1 ~/.scripts/ip.sh}
${voffset -8}${font Martin Vogel's Symbols:size=19}B${font} Gmail: ${alignr}${font DejaVu Sans:style=Bold:size=8}${execi 600 conkyEmail --servertype=IMAP --servername=imap.googlemail.com --username=_NO_SPAM_Omega69 --password=tupassword --ssl}${font} Nuevo(s) email(s)
${else}${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Ip Local: ${alignr}${addr eth0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Ip Pública: ${alignr}${execi 1 ~/.scripts/ip.sh}
${voffset -8}${font Martin Vogel's Symbols:size=19}B${font} Gmail: ${alignr}${font DejaVu Sans:style=Bold:size=8}${execi 600 conkyEmail --servertype=IMAP --servername=imap.googlemail.com --username=_NO_SPAM_Omega69@gmail.com --password=tupassword --ssl}${font} Nuevo(s) email(s)
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth1}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth1}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Ip Local: ${alignr}${addr eth1}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Ip Pública: ${alignr}${execi 1 ~/.scripts/ip.sh}
${voffset -8}${font Martin Vogel's Symbols:size=19}B${font} Gmail: ${alignr}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Red No disponible
${endif}
FECHA ${hr 2}
${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
${alignc}${time %A %d %Y}
El tiempo en Valladolid ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=SPXX0195 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0195 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SPXX0195 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SPXX0195 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SPXX0195 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=SPXX0195 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0195 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SPXX0195 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0195 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SPXX0195 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0195 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SPXX0195 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0195 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SPXX0195 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0195 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${else}${if_existing /proc/net/route eth0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=SPXX0195 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0195 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SPXX0195 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SPXX0195 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SPXX0195 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=SPXX0195 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0195 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SPXX0195 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0195 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SPXX0195 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0195 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SPXX0195 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0195 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SPXX0195 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0195 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=SPXX0195 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font} ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=SPXX0195 --datatype=HT}${font}
${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=SPXX0195 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=SPXX0195 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=SPXX0195 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=SPXX0195 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=SPXX0195 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=SPXX0195 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0195 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=SPXX0195 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0195 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=SPXX0195 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0195 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=SPXX0195 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=SPXX0195 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Tiempo No disponible
${endif}
Saludos
background yes
font Zekton:size=8
xftfont Zekton:size=8
use_xft yes
xftalpha 0.5
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
minimum_size 220 5
maximum_width 220
default_color d7d7d7
default_shade_color black
default_outline_color black
alignment top_right
gap_x 10
gap_y 30
no_buffers yes
cpu_avg_samples 2
override_utf8_locale yes
uppercase no # set to yes if you want all text to be in uppercase
use_spacer no
# Main headers (Anarajando)
color0 FF8C00
# Resaltado (amarillo)
color1 E1D93F
# separadores
color2 98C2C7
color3 9ACD32
color4 A52A2A # color Brown
color5 87CEFA
color6 FF4500
color7 FF8C00
TEXT
${color0}${font Courier 10 Pitch:bold:size=12}SYSTEM ${font} ${color}
${voffset -5}${color0}${cpubar cpu5 1,255}${color}
${color5}Hostname: ${color1}$alignr$nodename $color
${color5}Kernel: ${color}$alignr$kernel
${color5}Uptime: ${color}$alignr$uptime
${color5}Procesos: ${color}${alignr}$processes ($running_processes running)
${color white}${font LCD:size=35} ${time %I:%M %P}${font}
${font LCDMono:size=12}
${voffset 7}${color gold}${alignc}${execi 60 ~/.conky/scripts/calendario.sh mes}
${color dddddd}${alignc}${execi 60 ~/.conky/scripts/calendario.sh semana}
${color 888888}${alignc}${execi 60 ~/.conky/scripts/calendario.sh pasado}${color red}${alignc}${execi 60 ~/.conky/scripts/calendario.sh hoy}${color 888888}${execi 60 ~/.conky/scripts/calendario.sh futuro}${font}
${color0}${font Courier 10 Pitch:bold:size=12}CPU ${font} ${color}
${voffset -5}${color0}${cpubar cpu5 1,255}${color}
CPU: ${alignc} ${freq}MHz ${alignr}(${cpu cpu1}%)
${cpubar 4 cpu1} ${color1}
${cpugraph}
${color0}${font Courier 10 Pitch:bold:size=12}PROCESOS (PS -A) ${font} ${color}
${voffset -5}${color0}${cpubar cpu5 1,255}${color}
${color6}${font Pitch:bold:size=8}Nombre $alignr PID CPU% MEM%${font}
$color ${top name 1}$alignr ${color7}${top pid 1}${color} ${top cpu 1} ${top mem 1}
$color ${top name 2}$alignr ${color7}${top pid 2}${color} ${top cpu 2} ${top mem 2}
$color ${top name 3}$alignr ${color7}${top pid 3}${color} ${top cpu 3} ${top mem 3}
$color ${top name 4}$alignr ${color7}${top pid 4}${color} ${top cpu 4} ${top mem 4}
$color ${top name 5}$alignr ${color7}${top pid 5}${color} ${top cpu 5} ${top mem 5}
${color6}${font Pitch:bold:size=8}Memoria usada${font}
$color ${top_mem name 1}$alignr ${color7}${top_mem pid 1}${color} ${top_mem cpu 1} ${top_mem mem 1}
$color ${top_mem name 2}$alignr ${color7}${top_mem pid 2}${color} ${top_mem cpu 2} ${top_mem mem 2}
$color ${top_mem name 3}$alignr ${color7}${top_mem pid 3}${color} ${top_mem cpu 3} ${top_mem mem 3}
${color0}${font Courier 10 Pitch:bold:size=12}HDD ${font} ${color}
${voffset -5}${color0}${cpubar cpu5 1,255}${color}
${color6}${font Pitch:bold:size=8}Root: ${font}${color}${alignr}${fs_free /} (${fs_free_perc /}%) / ${fs_size /}
${alignr}${fs_bar 4,130 /}
${color6}${font Pitch:bold:size=8}Datos-250GB: ${font}${color}${alignr}${fs_free /media/Datos-250GB} (${fs_free_perc /media/Datos-250GB}%) / ${fs_size /media/Datos-250GB}
${alignr}${fs_bar 4,130 /media/Datos-250GB}
${color0}${font Courier 10 Pitch:bold:size=12}RED ${font} ${color}
${voffset -5}${color0}${cpubar cpu5 1,255}${color}
${color0}IP Address: $color ${addr wlan0} $color
Down ${downspeed wlan0} k/s ${alignr}Up ${upspeed wlan0} k/s
${color4}${downspeedgraph wlan0 25,90} ${color3}${alignr}${upspeedgraph wlan0 25,90}
${color1}Total ${totaldown wlan0} ${alignr}Total ${totalup wlan0}
#! /bin/sh
#str=`echo '\033[01;32m29'`
DATE=`date | awk -F" " '{print $3}'`
case "$1" in
mes)
cal -m | head -n1
;;
semana)
cal -m | head -n2 | tail -n1
;;
pasado)
cal -m | grep -v '[a-zA-Z]' | grep '[0-9]' | awk -F$DATE ' BEGIN {i=0}
($1 == $0 && i==0) {print $1}($1 != $0 && i==0){i=i+1;print $1}';
;;
hoy)
echo $DATE;
;;
futuro)
cal -m | grep -v '[a-zA-Z]' | grep '[0-9]' | awk -F$DATE ' BEGIN {i=1}
(i==0) {print $0}($1 != $0 && i==1){i=i-1;print $2}';
;;
esac
alignment bottom_middle
background yes
font Zekton:size=8
xftfont Zekton:size=8
use_xft yes
xftalpha 0.5
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
minimum_size 340 0
#maximum_width 220
default_color d7d7d7
default_shade_color black
default_outline_color black
gap_x -200
gap_y 50
no_buffers yes
cpu_avg_samples 2
override_utf8_locale yes
uppercase no # set to yes if you want all text to be in uppercase
use_spacer no
color0 FF8C00
color3 darkred
color1 dark blue
color2 003300
color6 FF4500
TEXT
${color0}${font Courier 10 Pitch:bold:size=12}TEMPERATURA ${font} ${color}
${voffset -5}${color0}${cpubar cpu5 1,340}${color}
${image ~/.conky/img/hdd.png -p 0,50 -s 25x25} ${image ~/.conky/img/gpu2.png -p 240,45 -s 25x25}
${color6}${font Pitch:bold:size=8} Linux:${font}${color} ${execi 300 nc localhost 7634 | cut -c104-105;} ºC ${color6}${alignr}${font Pitch:bold:size=8}GPU:${font}${color} ${execi 300 nvidia-settings -t -q GPUCoreTemp;} ºC
${color6}${font Pitch:bold:size=8} Datos:${font}${color} ${execi 300 nc localhost 7634 | cut -c77-78;} ºC
#!/bin/bash
sleep 30 && conky && conky -c ~/.conky/conkyrc_2;
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048
# 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 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 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 20
gap_y 70
# 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
SISTEMA ${hr 2}
${voffset 2}${font OpenLogos:size=16}u${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=16}A${font} CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font} CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=16}A${font} CPU:${color } $cpu% ${acpitemp}ºC
${font StyleBats:size=16}g${font} RAM: $memperc% ${alignr}${membar 8,60}
${font Webdings:size=16}~${font} Batería: ${battery_percent BAT0}% ${alignr}${battery_bar 8,60 BAT0}
${font StyleBats:size=16}q${font} Actividad: ${alignr}${uptime}
RED ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 C22F2F DA3F3F}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 C22F2F DA3F3F}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font} Señal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Ip Local: ${alignr}${addr wlan0}
${else}${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 C22F2F DA3F3F}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 C22F2F DA3F3F}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Ip Local: ${alignr}${addr eth0}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 C22F2F DA3F3F}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 C22F2F DA3F3F}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth1}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth1}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Ip Local: ${alignr}${addr eth1}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Red No disponible
${endif}
FECHA ${hr 2}
${alignc 35}${font Arial Black:size=22}${time %H:%M}${font}
${alignc}${time %A %d %Y}
TEXT
^fg(blue)| ^fg(red)[^fg()${mpd_status}^fg(red)]^fg() ${mpd_smart} ^fg(red)(^fg()${mpd_elapsed}^fg(re
)/^fg()${mpd_length}^fg(red))^fg(blue) |