guest@dotshare [~/groups/info/conky] $ ls My-conky-config/ | cat

My conky config (scrot)

Agustin529 Oct 10, 2012 (info/conky)

.conkyrc(raw, dl)

SCROT

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#avoid flicker
double_buffer yes

own_window  yes
own_window_transparent no
own_window_type override
own_window_hints undecorate,sticky,skip_taskbar,skip_pager 

#bordes
draw_borders no
draw_graph_borders yes
border_width 1
border_margin 3

#sombras
draw_shades no

#posición
gap_x 0
gap_y 4
alignment top_middle

#comportamiento
update_interval 1

#colór
default_color F1F1F1
#default_shade_color 000000
own_window_colour 262626
#fuente
use_xft yes
xftfont Zekton:size=8

override_utf8_locale yes

# panél c
use_spacer none
minimum_size 1366 0

TEXT
${alignc}Date: ${color 6D9CBE}${time %d/%m/%y}${color}  Time: ${color 6D9CBE}${time %H:%M:%S}${color}   Kernel: ${color 6D9CBE}$kernel${color}  Uptime: ${color 6D9CBE}${uptime_short}${color}    Cpu: ${color 6D9CBE}${cpu}%${color}  Ram: ${color 6D9CBE}${mem}${color}   Actualizaciones: ${color 6D9CBE}${execi 4200 perl ~/.conky/conkyupd.pl}${color}${color}

CLICK TO VIEW

x

conkyupd.pl(raw, dl)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
    #!/usr/bin/perl

    use strict;
    use warnings;
    my $n = (`pacman -Qu | wc -l`);
    chomp ($n);
    if ($n == 0)
    {
    print "Actualizado"
    }
    else
    {
    print "$n Disponibles "
    }
 

x

Notes

Font = Zekton http://www.urbanfonts.com/download.php?file=zekton.zip
configuration of conky for arch linux (update = “Actializaciones: Actializado”)

.conkyrc = ~/
conkyupd.pl = ~/.conky/

in /etc/cron.hourly

“#!/bin/bash
pacman -Sy”

fila name “sync.sh ”