aquí tienes;
reloj
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1
imlib_cache_size 0
double_buffer yes
no_buffers yes
format_human_readable
use_xft yes
xftfont Antipasto:size=8
override_utf8_locale yes
text_buffer_size 168
own_window yes
own_window_transparent yes
own_window_argb_visual yes
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
alignment bottom_right
gap_x 1290
gap_y 98
minimum_size 300 200
draw_shades no
#draw_outline yes
#default_outline_color 696E72
default_color F6F6F6
color1 1B1C1F
TEXT
${voffset 19}${offset 20}${font Quicksand:pixelsize=75}${time %I·%M}${font}${if_match ${time %H}<12}AM${else}${if_match ${time %H}>12}PM${endif}${endif}${font}
${voffset 8}${color1}${offset -70}${font Annie Use Your Telescope:pixelsize=24}${alignc}${time %A %d %B %Y}
barra de arriba
use_xft yes
xftfont Droid Sans:size=7.5
xftalpha 0.1
text_buffer_size 2048
update_interval 1
total_run_times 0
own_window yes
own_window_argb_visual yes
own_window_transparent yes
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 1642 1
maximum_width 1642
draw_shades no
draw_outline no
draw_borders no
stippled_borders 0
# border_margin 5
border_width 0
default_color white
#default_shade_color 8B9BB3
#default_outline_color 8B9BB3
#own_window_colour red
alignment top_middle
#alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
gap_x 0
gap_y 50
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer none
lua_load /home/keops/.lua/scripts/draw_bg.lua
lua_draw_hook_pre draw_bg
TEXT
${voffset 0}${offset 25}\
${font Droid Sans:bold:size=7.5}\
${offset 5}· Linux: ${color B8BECF}${kernel} ${machine}${color}${offset 5}·${offset -5} \
${offset 5}${color}Actividad: ${color B8BECF}${uptime}${color}${offset 5}·${offset -5} \
${offset 5}CPU1: ${color B8BECF}${cpu cpu1}${offset 5}${color}${offset 5}·${offset -5} \
${offset 5}CPU2: ${color B8BECF}${cpu cpu2}${offset 5}${color}${offset 5}·${offset -5} \
${offset 5}${color}Frecuencia CPU: ${color B8BECF}${freq_g}${color} ${color B8BECF}Ghz${color}${offset 5}·${offset -5} \
${offset 5}${color}Temperatura CPU: ${color B8BECF}${acpitemp}ºC${color}${offset 5}·${offset -5} \
${offset 5}${color}Ram: ${color B8BECF}$memperc%${color}${offset 5}·${offset -5} \
${offset 5}${color}Libre: ${color B8BECF}${memeasyfree}${color}${offset 5}·${offset -5} \
${offset 5}${color}Root: ${color B8BECF}${fs_used /}/${fs_size /}${color}${offset 5}·${offset -5} \
${offset 5}${color}Home: ${color B8BECF}${fs_used /home}/${fs_size /home}${color}${offset 5}·${offset -5} \
${offset 5}${color}Datos: ${color B8BECF}${fs_used /media/Backup/} / ${fs_size /media/Backup/}${color}${offset 5}·${offset -5} \
${offset 5}${color}Subida: ${color B8BECF}${upspeed wlan0}${color}${offset 5}·${offset -5} \
${offset 5}${color}Descarga: ${color B8BECF}${downspeed wlan0}${color}${offset 5}·${offset -5} \
${offset 5}${color}Procesos: ${color B8BECF}${running_processes running}${color}${offset 5}·${offset -5} \
${offset 5}${color}IP: ${color B8BECF}${if_up wlan0}wifi ${addr wlan0}${color} \
info pequeño
use_xft yes
xftfont Droid Sans:size=7.8
xftalpha 0.1
update_interval 1
total_run_times 0
own_window yes
own_window_transparent yes
own_window_argb_visual yes
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 160 10
maximum_width 200
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color B8BECF
default_shade_color FFFFFF
default_outline_color B8BECF
alignment top_left
gap_x 1499
gap_y 88
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
## process settings
top_name_width 11
#no_buffers yes
lua_load /home/keops/.lua/scripts/draw_bg.lua
lua_draw_hook_pre draw_bg
TEXT
${font Droid Sans:bold:size=7.8}\
${offset 5}${color EAEAEA}Procesos${goto 66}$color$processes
${offset 5}${color EAEAEA}Corriendo${goto 66}$color$running_processes
${offset 5}${color EAEAEA}Max CPU${goto 66}$color${top name 1}${goto 137}${top_mem cpu 1}
${offset 5}${color EAEAEA}Max MEM${goto 66}$color${top_mem name 1}${goto 137}${top_mem mem 1}
la musica
use_xft yes
xftfont Verdana:size=7
xftalpha 0.1
update_interval 1
total_run_times 0
own_window yes
own_window_transparent yes
own_window_argb_visual yes
own_window_type normal
own_window_class conky-semi
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 1050 140
maximum_width 1050
draw_shades no
draw_borders no
draw_graph_borders no
default_color F6F6F6 #DCDCDC
default_shade_color 000000
#default_outline_color 696E72
#draw_outline yes
alignment bottom_left
gap_x 27
gap_y 835
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
TEXT
${if_running amarok} # Si Amarok está en ejecución...
${if_match ${execi 4 expr length "`qdbus org.kde.amarok /Player GetMetadata | grep title: | cut -b 8-`"} > 0} # Mirar si tenemos titulo = se está repruduciendo musica (mirar si se puede hacer de otra manera)
${if_match ${execi 4 expr length "`qdbus org.kde.amarok /Player GetMetadata | grep title: | cut -b 8-`"} > 42} # Si la longitud del titulo es > 80, scroll.
${font Varela Round:size=14}${color F6F6F6}${scroll 42 1${execi 4 qdbus org.kde.amarok /Player GetMetadata | grep title: | cut -b 8-}}${font} # Título canción scroll
${else} # Si no es > 22
${font Varela Round:size=14}${color F6F6F6}${execi 4 qdbus org.kde.amarok /Player GetMetadata | grep title: | cut -b 8-}${font} # Título canción
${endif} # End if logitud título > 22
${color 1B1C1F}
${voffset 6}${offset 30}${font Varela Round:size=12}${execi 4 qdbus org.kde.amarok /Player GetMetadata | grep -w artist: | cut -b 9-}${font} # Artista canción
${color DCDCDC}
#${voffset 1}${offset 50}${font Varela Round:size=10}${execi 4 qdbus org.kde.amarok /Player GetMetadata | grep album: | cut -b 8-}${font} # Album de la canción
${else} # Else de si long título > 0 Amarok
${if_running spotify} # Si Spotify está en ejecución...
${if_match ${execi 4 expr length "`qdbus com.spotify.qt /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title: | cut -b 14-`"} > 0} # Mirar si tenemos titulo = se está repruduciendo musica (mirar si se puede hacer de otra manera)
${if_match ${execi 4 expr length "`qdbus com.spotify.qt /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title: | cut -b 14-`"} > 42} # Si la longitud del titulo es > 80, scroll.
${font Quicksand:bold:size=16}${color 1B1C1F}${scroll 22 1${execi 4 qdbus com.spotify.qt /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title: | cut -b 14-}}${font} # Título canción scroll
${else} # Si no es > 80
${font Quicksand:bold:size=36}${color 1B1C1F}${execi 4 qdbus com.spotify.qt /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title: | cut -b 14-}${font} # Título canción
${endif} # End if logitud título > 80
${color}
${voffset -2}${offset 10}${font Quicksand:bold:size=24}${execi 4 qdbus com.spotify.qt /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep artist: | cut -b 15-}${font} # Artista canción
${voffset -2}${offset 20}${font :bold:size=18}${execi 4 qdbus com.spotify.qt /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep album: | cut -b 14-}${font} # Album de la canción
${else} # Else de si long título > 0 Clementine
${voffset 18}${color 1B1C1F} ${font Comfortaa:pixelsize=78}${color 1B1C1F}${time %H}${font}${voffset -50}${color}${font Comfortaa:pixelsize=78}${time :%M:%S}${font}
${voffset 8}${offset 15}${font Comfortaa:pixelsize=26}${time %A}${font}${offset 10}${font Comfortaa:pixelsize=26}${color 999999}${voffset -9}${time %d}${color dddddd}${font}${offset 5}${voffset -9}${font Comfortaa:pixelsize=26}${time %B}${offset 5}${time %Y}${font}
${endif} # End If de si long título > 0 Clementine
${endif} # End If de Spotify is_running
${endif} # End If de Amarok tit > 0
${else} # Else de si amarok is_running
${if_running clementine} # Si Amarok está en ejecución...
${if_match ${execi 4 expr length "`qdbus com.spotify.qt /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title: | cut -b 14-`"} > 0} # Mirar si tenemos titulo = se está repruduciendo musica (mirar si se puede hacer de otra manera)
${if_match ${execi 4 expr length "`qdbus com.spotify.qt /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title: | cut -b 14-`"} > 40} # Si la longitud del titulo es > 80, scroll.
${font Quicksand:bold:size=36}${color 999999}${scroll 40 1${execi 4 qdbus com.spotify.qt /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title: | cut -b 14-}}${font} # Título canción scroll
${else} # Si no es > 80
${font Quicksand:bold:size=36}${color 1B1C1F}${execi 4 qdbus com.spotify.qt /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep title: | cut -b 14-}${font} # Título canción
${endif} # End if logitud título > 80
${color}
${voffset -2}${offset 10}${font Quicksand:bold:size=24}${execi 4 qdbus com.spotify.qt /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep artist: | cut -b 15-}${font} # Artista canción
${voffset -2}${offset 20}${font Quicksand:bold:size=18}${execi 4 qdbus com.spotify.qt /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Metadata | grep album: | cut -b 14-}${font} # Album de la canción
${endif} # End If de si long título > 0 Clementine
${endif} # End If de Clementine is_running
${endif} # End If de Amarok is_running
edit;
el fondo negro
--[[
Background by londonali1010 (2009)
This script draws a background to the Conky window. It covers the whole of the Conky window, but you can specify rounded corners, if you wish.
To call this script in Conky, use (assuming you have saved this script to ~/scripts/):
lua_load ~/scripts/draw_bg.lua
lua_draw_hook_pre draw_bg
Changelog:
+ v1.0 -- Original release (07.10.2009)
]]
-- Change these settings to affect your background.
-- "corner_r" is the radius, in pixels, of the rounded corners. If you don't want rounded corners, use 0.
corner_r=0.5
-- Set the colour and transparency (alpha) of your background.
bg_colour=0x2A2C33
bg_alpha=0.9
require 'cairo'
function rgb_to_r_g_b(colour,alpha)
return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end
function conky_draw_bg()
if conky_window==nil then return end
local w=conky_window.width
local h=conky_window.height
local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
cr=cairo_create(cs)
cairo_move_to(cr,corner_r,0)
cairo_line_to(cr,w-corner_r,0)
cairo_curve_to(cr,w,0,w,0,w,corner_r)
cairo_line_to(cr,w,h-corner_r)
cairo_curve_to(cr,w,h,w,h,w-corner_r,h)
cairo_line_to(cr,corner_r,h)
cairo_curve_to(cr,0,h,0,h,0,h-corner_r)
cairo_line_to(cr,0,corner_r)
cairo_curve_to(cr,0,0,0,0,corner_r,0)
cairo_close_path(cr)
cairo_set_source_rgba(cr,rgb_to_r_g_b(bg_colour,bg_alpha))
cairo_fill(cr)
end