Vous n'êtes pas identifié(e).
Bonjour et merci pour vos contribs 
voici donc le miens actuel:
Et voici ses Fichiers :
Meg4-ConK.tar.gz
Hors ligne
en effet, sympa comme tout ce conky ! 
Hors ligne
coucou,
ça faisait longtemps 
un conky fullscren que j'utilise avec dwm, déclenché par un raccourci clavier.
le conkyrc est sur le lien 
edit: updated
réagencement des infos
ajout des flux rss
ajout usb & cdrom
Dernière modification par arpinux (2012-10-19 00:05:29)
[arpinux.org][wmfs²][devart][livarp][FSF][distrozilla][books]
Hors ligne
merci beaucoup guantas 
[arpinux.org][wmfs²][devart][livarp][FSF][distrozilla][books]
Hors ligne
un ptit truc trouvé sur un forum fedora ..
le saint du jour dans conky:
${texeci 28800 wget -q http://nominis.cef.fr/ -O saint.html -O - | iconv -f latin1 -t utf8 | sed '1,/Bonne Fête !/d; /Autres Fêtes du Jour/Q;' | sed '$d' | sed '1i<html>' | sed '4a</html>' | xmlstarlet sel -t -v '//dt/a' | awk 'ORS=NR%6?" ":"\n"'}
[arpinux.org][wmfs²][devart][livarp][FSF][distrozilla][books]
Hors ligne
Useless mon cher Watson ! 
Visit me: ma tu ni xe
Support us: Crunchbanglinux-fr
ASCII Ribbon Campaign
Hors ligne
lol original ^^
Serveur : Livarp 0.3.9
PC fixe : CrunchBang BPO 10 OpenBox
PC portable : CrunchBang 11 OpenBox
PC boulot : Crunchbang 10 OpenBox
En ligne
jouer un peu avec les if/eslse/endif dans conky .... à la manière du premier MadboxConky 

########################################################################
# ___ conkyrc #
# livarp_0.3.9 arpinux@2012 #
# http://arpinux.org/livarp #
########################################################################
## Setting #
########################################################################
update_interval 1
total_run_times 0
net_avg_samples 2
cpu_avg_samples 2
imlib_cache_size 0
double_buffer yes
no_buffers yes
override_utf8_locale yes
use_xft yes
xftalpha 0.5
xftfont Monospace:size=12
text_buffer_size 2048
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_pager,skip_taskbar
alignment tl
gap_x 5
gap_y 0
border_inner_margin 0
border_outer_margin 0
minimum_size 400 300
maximum_width 400
default_color 222222 #dark grey
color1 D7D7D7 # clear grey
color2 DB8100 # orange
color3 A3A3A3 # middle grey
color4 26DB00 # green
color5 DB0500 # red
color6 0068DB # blue
draw_shades yes
draw_outline no
default_shade_color 222222
if_up_strictness address
########################################################################
## Output #
########################################################################
TEXT
${if_match ${battery_percent BAT0} < 10}${color5}${else}${color3}${endif}${font Abstract:size=4}bat$font\
${voffset -8}${goto 50}${if_match ${battery_percent BAT0} > 0}${color5}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 10}${color5}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 15}${color2}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 20}${color2}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 25}${color2}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 30}${color1}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 35}${color1}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 40}${color1}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 45}${color1}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 50}${color1}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 55}${color1}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 60}${color1}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 65}${color1}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 70}${color1}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 75}${color1}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 80}${color1}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 85}${color4}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 90}${color4}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} > 95}${color4}${else}${color}${endif}▪\
${if_match ${battery_percent BAT0} == 100}${color6}${else}${color}${endif}▪
${voffset -8}${color3}${font Abstract:size=4}hor$font\
${voffset -8}${goto 50}${if_match ${time %H%M} > 0}${color6}${else}${color}${endif}▪\
${if_match ${time %H%M} > 112}${color4}${else}${color}${endif}▪\
${if_match ${time %H%M} > 224}${color4}${else}${color}${endif}▪\
${if_match ${time %H%M} > 336}${color4}${else}${color}${endif}▪\
${if_match ${time %H%M} > 448}${color1}${else}${color}${endif}▪\
${if_match ${time %H%M} > 600}${color1}${else}${color}${endif}▪\
${if_match ${time %H%M} > 712}${color1}${else}${color}${endif}▪\
${if_match ${time %H%M} > 824}${color1}${else}${color}${endif}▪\
${if_match ${time %H%M} > 936}${color1}${else}${color}${endif}▪\
${if_match ${time %H%M} > 1048}${color1}${else}${color}${endif}▪\
${if_match ${time %H%M} > 1200}${color1}${else}${color}${endif}▪\
${if_match ${time %H%M} > 1312}${color1}${else}${color}${endif}▪\
${if_match ${time %H%M} > 1424}${color1}${else}${color}${endif}▪\
${if_match ${time %H%M} > 1536}${color1}${else}${color}${endif}▪\
${if_match ${time %H%M} > 1700}${color1}${else}${color}${endif}▪\
${if_match ${time %H%M} > 1812}${color1}${else}${color}${endif}▪\
${if_match ${time %H%M} > 1924}${color4}${else}${color}${endif}▪\
${if_match ${time %H%M} > 2048}${color4}${else}${color}${endif}▪\
${if_match ${time %H%M} > 2200}${color4}${else}${color}${endif}▪\
${if_match ${time %H%M} > 2312}${color6}${else}${color}${endif}▪
${voffset -8}${if_match ${fs_used_perc} > 95}${color5}${else}${color3}${endif}${font Abstract:size=4}hdd$font\
${voffset -8}${goto 50}${if_match ${fs_used_perc} > 0}${color6}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 10}${color4}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 15}${color4}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 20}${color4}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 25}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 30}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 35}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 40}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 45}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 50}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 55}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 60}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 65}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 70}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 75}${color1}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 80}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 85}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 90}${color2}${else}${color}${endif}▪\
${if_match ${fs_used_perc} > 95}${color5}${else}${color}${endif}▪\
${if_match ${fs_used_perc} == 100}${color5}${else}${color}${endif}▪
${voffset -8}${color3}${font Abstract:size=4}ram$font\
${voffset -8}${goto 50}${if_match ${memperc} > 0}${color6}${else}${color}${endif}▪\
${if_match ${memperc} > 10}${color4}${else}${color}${endif}▪\
${if_match ${memperc} > 15}${color4}${else}${color}${endif}▪\
${if_match ${memperc} > 20}${color4}${else}${color}${endif}▪\
${if_match ${memperc} > 25}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 30}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 35}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 40}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 45}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 50}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 55}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 60}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 65}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 70}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 75}${color1}${else}${color}${endif}▪\
${if_match ${memperc} > 80}${color2}${else}${color}${endif}▪\
${if_match ${memperc} > 85}${color2}${else}${color}${endif}▪\
${if_match ${memperc} > 90}${color2}${else}${color}${endif}▪\
${if_match ${memperc} > 95}${color5}${else}${color}${endif}▪\
${if_match ${memperc} == 100}${color5}${else}${color}${endif}▪
${voffset -8}${color3}${font Abstract:size=4}ctp$font\
${voffset -8}${goto 50}${if_match ${ibm_temps 0} > 30}${color6}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 35}${color4}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 40}${color4}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 45}${color4}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 50}${color1}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 52}${color1}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 54}${color1}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 56}${color1}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 57}${color1}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 60}${color1}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 62}${color1}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 64}${color1}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 66}${color1}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 68}${color1}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 70}${color1}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 72}${color1}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 74}${color2}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 80}${color2}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 85}${color2}${else}${color}${endif}▪\
${if_match ${ibm_temps 0} > 90}${color5}${else}${color}${endif}▪
${voffset -8}${color3}${font Abstract:size=4}cpu$font\
${voffset -8}${goto 50}${if_match ${cpu} > 0}${color6}${else}${color}${endif}▪\
${if_match ${cpu} > 10}${color4}${else}${color}${endif}▪\
${if_match ${cpu} > 15}${color4}${else}${color}${endif}▪\
${if_match ${cpu} > 20}${color4}${else}${color}${endif}▪\
${if_match ${cpu} > 25}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 30}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 35}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 40}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 45}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 50}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 55}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 60}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 65}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 70}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 75}${color1}${else}${color}${endif}▪\
${if_match ${cpu} > 80}${color2}${else}${color}${endif}▪\
${if_match ${cpu} > 85}${color2}${else}${color}${endif}▪\
${if_match ${cpu} > 90}${color2}${else}${color}${endif}▪\
${if_match ${cpu} > 95}${color5}${else}${color}${endif}▪\
${if_match ${cpu} == 100}${color5}${else}${color}${endif}▪
${if_up eth3}${color3}${font Abstract:size=4}wifi${font}${color}\
${voffset -8}${goto 50}${if_match ${wireless_link_qual_perc eth3} > 0}${color5}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 10}${color5}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 15}${color2}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 20}${color2}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 25}${color2}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 30}${color1}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 35}${color1}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 40}${color1}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 45}${color1}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 50}${color1}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 55}${color1}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 60}${color1}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 65}${color1}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 70}${color1}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 75}${color1}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 80}${color1}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 85}${color4}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 90}${color4}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} > 95}${color4}${else}${color}${endif}▪\
${if_match ${wireless_link_qual_perc eth3} == 100}${color6}${else}${color}${endif}▪
${voffset -8}${if_match ${upspeedf eth3} > 80}${color5}${else}${color3}${endif}${font Abstract:size=4}upl$font\
${voffset -8}${goto 50}${if_match ${upspeedf eth3} > 0}${color6}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 10}${color4}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 15}${color4}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 20}${color4}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 25}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 30}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 35}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 40}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 45}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 50}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 55}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 60}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 65}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 70}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 75}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 80}${color2}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 85}${color2}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 90}${color2}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 95}${color5}${else}${color}${endif}▪\
${if_match ${upspeedf eth3} > 100}${color5}${else}${color}${endif}▪
${voffset -8}${if_match ${downspeedf eth3} > 1000}${color5}${else}${color3}${endif}${font Abstract:size=4}dnl$font\
${voffset -8}${goto 50}${if_match ${downspeedf eth3} > 0}${color6}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 50}${color4}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 100}${color4}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 125}${color4}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 150}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 175}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 200}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 225}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 250}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 275}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 300}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 350}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 400}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 450}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 500}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 600}${color2}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 700}${color2}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 800}${color2}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 900}${color5}${else}${color}${endif}▪\
${if_match ${downspeedf eth3} > 1000}${color5}${else}${color}${endif}▪
${endif}${if_up eth1}${color3}${font Abstract:size=4}lan${font}${color}
${voffset -16}${if_match ${upspeedf eth1} > 80}${color5}${else}${color3}${endif}${font Abstract:size=4}upl$font\
${voffset -8}${goto 50}${if_match ${upspeedf eth1} > 0}${color6}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 10}${color4}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 15}${color4}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 20}${color4}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 25}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 30}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 35}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 40}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 45}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 50}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 55}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 60}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 65}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 70}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 75}${color1}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 80}${color2}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 85}${color2}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 90}${color2}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 95}${color5}${else}${color}${endif}▪\
${if_match ${upspeedf eth1} > 100}${color5}${else}${color}${endif}▪
${voffset -8}${if_match ${downspeedf eth1} > 900}${color5}${else}${color3}${endif}${font Abstract:size=4}dnl${font}\
${voffset -8}${goto 50}${if_match ${downspeedf eth1} > 0}${color6}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 50}${color4}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 100}${color4}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 125}${color4}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 150}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 175}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 200}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 225}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 250}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 275}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 300}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 350}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 400}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 450}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 500}${color1}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 600}${color2}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 700}${color2}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 800}${color2}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 850}${color5}${else}${color}${endif}▪\
${if_match ${downspeedf eth1} > 900}${color5}${else}${color}${endif}▪\
${endif}et un peu de lua c'est sympa aussi...
le conkyrc
########################################################################
# topbars conkyrc #
# livarp_0.3.9 arpinux@2012 #
# http://arpinux.org/livarp #
########################################################################
## Setting #
########################################################################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 2
imlib_cache_size 0
double_buffer yes
no_buffers yes
override_utf8_locale yes
use_xft yes
xftalpha 1
xftfont Dinreg:size=10:bold
text_buffer_size 2048
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_pager,skip_taskbar
alignment tr
gap_x 5
gap_y 0
minimum_size 420 130
maximum_width 420
default_color white
draw_shades yes
default_shade_color black
lua_load ~/.conky/topbars.lua
lua_draw_hook_pre bar_stats
########################################################################
## Output #
########################################################################
TEXT
${voffset 20}${if_match ${cpu} < 10}${goto 14}\
${else}${if_match ${cpu} < 100}${goto 10}\
${else}${goto 6}${endif}${endif}${cpu}\
${goto 40}${memperc}\
${goto 70}${fs_used_perc}\
${if_match ${battery_percent BAT0} == 100}${goto 96}${else}${goto 100}${endif}${battery_percent BAT0}\
${goto 250}${wireless_link_qual_perc eth3}\
${goto 280}${ibm_temps 0}\
${goto 310}${ibm_temps 2}\
${goto 340}${time %I}\
${goto 370}${time %M}\
${goto 400}${time %S}et le topbars.lua
-- topbars.lua
-- arpinux@2012
------------------------------------------------------------------------
require 'cairo'
-- table ---------------------------------------------------------------
settings_table={
{
name='cpu',
arg='cpu0',
max=100,
x=0,
y=0,
title='CPU',
},
{
name='memperc',
arg='',
max=100,
x=30,
y=0,
title='MEM',
},
{
name='fs_used_perc',
arg='/',
max=100,
x=60,
y=0,
title='HDD',
},
{
name='battery_percent',
arg='BAT0',
max=100,
x=90,
y=0,
title='POW',
},
{
name='upspeedf',
arg='eth1',
max=100,
x=120,
y=0,
title='ethU',
},
{
name='downspeedf',
arg='eth1',
max=900,
x=150,
y=0,
title='ethD',
},
{
name='upspeedf',
arg='eth3',
max=100,
x=180,
y=0,
title='wifiU',
},
{
name='downspeedf',
arg='eth3',
max=900,
x=210,
y=0,
title='wifiD',
},
{
name='wireless_link_qual_perc',
arg='eth3',
max=100,
x=240,
y=0,
title='Qual',
},
{
name='ibm_temps',
arg='0',
max=90,
x=270,
y=0,
title='Tcpu',
},
{
name='ibm_temps',
arg='2',
max=90,
x=300,
y=0,
title='Thdd',
},
{
name='time',
arg='%I',
max=12,
x=330,
y=0,
title='Hour',
},
{
name='time',
arg='%M',
max=60,
x=360,
y=0,
title='Mins',
},
{
name='time',
arg='%S',
max=60,
x=390,
y=0,
title='Secs',
},
}
-- end of table --------------------------------------------------------
-- draw bar ------------------------------------------------------------
function draw_bar(pct, pt)
local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
cr=cairo_create(cs)
-- lua draw start geometry
local gx=5
local gy=25
-- set color white & position
cairo_set_source_rgba (cr,1,1,1,1)
cairo_move_to(cr,pt['x']+gx,pt['y']+gy-5)
-- define & display text
cairo_show_text(cr,pt['title'])
cairo_stroke(cr)
-- colors fix & gradient -----------------------------------------------
-- cpu gradient ----------------------------------------------------
if (pt['arg'] == 'cpu0' and pct>=80) then
-- +80% -- red opacity 8 ---------------------------------------
cairo_set_source_rgba (cr,1,0,0.2,0.8)
elseif (pt['arg'] == 'cpu0' and pct>30 and pct<80) then
-- 30~80% -- orange opacity 7 ----------------------------------
cairo_set_source_rgba (cr,1,0.5,0.3,0.7)
elseif (pt['arg'] == 'cpu0' and pct<30) then
-- -30% -- green opacity 4 -------------------------------------
cairo_set_source_rgba (cr,0,1,0.6,0.4)
-- mem gradient ----------------------------------------------------
elseif (pt['name'] == 'memperc' and pct>=60) then
-- +60% -- red opacity 8 ---------------------------------------
cairo_set_source_rgba (cr,1,0,0.2,0.8)
elseif (pt['name'] == 'memperc' and pct>40 and pct<60) then
-- 40~60% -- orange opacity 6 ----------------------------------
cairo_set_source_rgba (cr,1,0.5,0.3,0.6)
elseif (pt['name'] == 'memperc' and pct<40) then
-- -40% -- light green opacity 4 -------------------------------
cairo_set_source_rgba (cr,0,1,0.1,0.4)
-- hdd gradient ----------------------------------------------------
elseif (pt['arg'] == '/' and pct>=90) then
-- +90% -- red opacity 8 ---------------------------------------
cairo_set_source_rgba (cr,1,0,0.2,0.8)
elseif (pt['arg'] == '/' and pct>70 and pct<90) then
-- 70~90% -- braun opacity 6 -----------------------------------
cairo_set_source_rgba (cr,1,0.7,0.1,0.6)
elseif (pt['arg'] == '/' and pct<70) then
-- -70% -- green opacity 3 -------------------------------------
cairo_set_source_rgba (cr,0,1,0.6,0.4)
-- battery gradient ------------------------------------------------
elseif (pt['arg'] == 'BAT0' and pct>=80) then
-- +80% -- green opacity 2 -------------------------------------
cairo_set_source_rgba (cr,0,1,0.6,0.3)
elseif (pt['arg'] == 'BAT0' and pct>30 and pct<80) then
-- 30~80% -- white opacity 4 -----------------------------------
cairo_set_source_rgba (cr,1,1,1,0.4)
elseif (pt['arg'] == 'BAT0' and pct<30) then
-- -30% -- red opacity 8 ---------------------------------------
cairo_set_source_rgba (cr,1,0,0.2,0.8)
-- network fix color -----------------------------------------------
-- eth3 wifi -- sky blue opacity 7 -----------------------------
elseif (pt['arg'] == 'eth3') then
cairo_set_source_rgba (cr,0,0.7,1,0.7)
-- eth1 wired -- ocean blue opacity 8 --------------------------
elseif (pt['arg'] == 'eth1') then
cairo_set_source_rgba (cr,0,0.2,1,0.8)
-- network limit -- do not overflow conky geometry -----------------
elseif (pt['arg'] == 'eth3' and pct>100) then
pct=100
-- eth1/3 limit -- red opacity 8 -------------------------------
cairo_set_source_rgba (cr,1,0,0.2,0.8)
elseif (pt['arg'] == 'eth1' and pct>100) then
pct=100
cairo_set_source_rgba (cr,1,0,0.2,0.8)
-- temps gradient --------------------------------------------------
elseif (pt['name'] == 'ibm_temps' and pct>=70) then
-- +70% -- red opacity 8 ---------------------------------------
cairo_set_source_rgba (cr,1,0,0.2,0.8)
elseif (pt['name'] == 'ibm_temps' and pct>30 and pct<70) then
-- 30~70% -- green opacity 2 -----------------------------------
cairo_set_source_rgba (cr,0,1,0.6,0.2)
elseif (pt['name'] == 'ibm_temps' and pct<30) then
-- -30% -- white opacity 4 -------------------------------------
cairo_set_source_rgba (cr,1,1,1,0.4)
-- hours fix color -- white opacity 4 ------------------------------
elseif (pt['arg'] == '%I') then
cairo_set_source_rgba (cr,1,1,1,0.4)
-- minutes fix color -- white opacity 3 ----------------------------
elseif (pt['arg'] == '%M') then
cairo_set_source_rgba (cr,1,1,1,0.3)
-- seconds fix color - white opacity 2 -----------------------------
elseif (pt['arg'] == '%S') then
cairo_set_source_rgba (cr,1,1,1,0.2)
-- general gradient ------------------------------------------------
else
if pct<=50 then
cairo_set_source_rgba (cr,0.5,0.5,0.5,0.4)
elseif (pct>50 and pct<=80) then
cairo_set_source_rgba (cr,0.2,0.6,0.6,0.4)
else
cairo_set_source_rgba (cr,1,0,0.2,0.4)
end
end
-- end colors ----------------------------------------------------------
-- create bars ---------------------------------------------------------
cairo_set_line_width (cr,1)
cairo_rectangle (cr,pt['x']+gx,pt['y']+gy,25,pct)
cairo_fill_preserve (cr)
cairo_stroke (cr)
cairo_destroy(cr)
cr=nil
end
function conky_bar_stats()
local function setup_bars(pt)
local str=''
local value=0
str=string.format('${%s %s}',pt['name'],pt['arg'])
str=conky_parse(str)
value=math.floor(tonumber(str))
if value == nil then
pct=0
else
pct=value*100/pt['max']
end
draw_bar(pct,pt)
end
if conky_window == nil then return end
local updates=conky_parse('${updates}')
update_num=tonumber(updates)
if update_num>5 then
for i in pairs(settings_table) do
setup_bars(settings_table[i])
end
end
end[arpinux.org][wmfs²][devart][livarp][FSF][distrozilla][books]
Hors ligne
très sympa ces barres 
Aphelive - (NEW)Alpha 3 (iso)
Doit on encore et toujours se courber pour une ligne droite ? Prière pour trouver les grands espaces entre les parois d'une boîte.
Hors ligne
Hors ligne
coucou,
ça faisait longtemps
un conky fullscren que j'utilise avec dwm, déclenché par un raccourci clavier.
http://th08.deviantart.net/fs70/200H/i/2012/292/1/0/fullscreen_conky__updated__by_arpinux-d5i9te0.png
le conkyrc est sur le lienedit: updated
réagencement des infos
ajout des flux rss
ajout usb & cdrom
mais regardez moi c'te classe ! 
Hors ligne
Bonjour à tous,
Dans la suite de ce ce fil, voici mon conky
J'ai essayé de garder la philosophie de départ, qui est quelque chose de simple, orienté "texte".
Pour l'agenda, voir le fil ci dessus. Pour la météo, j'ai utilisé ces ces infos. J'ai légèrement modifié le fichier de configuration. Je préciserais cela dès que mon Conky sera finalisé.
Voici mon conky :
# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! :)
##############################################
# Settings
##############################################
background yes
use_xft yes
xftfont Liberation Sans:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
##############################################
# Compositing tips:
# Conky can play strangely when used with
# different compositors. I have found the
# following to work well, but your mileage
# may vary. Comment/uncomment to suit.
##############################################
## no compositor
own_window_type override
own_window_argb_visual no
## xcompmgr
#own_window_type override
#own_window_argb_visual yes
## cairo-compmgr
#own_window_type desktop
#own_window_argb_visual yes
##############################################
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 240
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
#default_color 656667
default_color 94c3e0
default_shade_color 000000
default_outline_color 828282
color1 94c3e0 # données
color2 dbe7ff # titre
alignment top_right
gap_x 12
gap_y 20
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
##############################################
# Output
##############################################
TEXT
${color}${font URW Chancery L:style=Medium Italic:pixelsize=34}$alignc$nodename
${color1}${font URW Chancery L:style=Medium Italic:pixelsize=60}${time %H:%M}${font} ${font pixelsize=12}$alignr${voffset -25}${time %A}
$alignr${time %d %B}${font}${color}
${hr}
${execi 2000 fortune -s | fmt -w 43}
A U J O U R D ' H U I${hr}${execi 120 ~/.conky/meteo.sh FRIF0238}
${offset 180}${execi 120 ~/.conky/meteo2.sh "Température aujourd'hui"}
${offset 185}${font weather:size=40}${execi 120 ~/.conky/meteo2.sh "Conditions aujourd'hui"}${font}${voffset -16}
${voffset -45}${execi 120 calcurse -a }
${offset 180}${execi 120 ~/.conky/meteo2.sh "Température demain"}
${offset 185}${font weather:size=40}${execi 120 ~/.conky/meteo2.sh "Conditions demain"}${font}${voffset -16}
${voffset -45}${execi 120 calcurse -d $(date +%m/%d/%Y -d tomorrow)}
${execi 120 calcurse -d $(date +%m/%d/%Y -d '2 day')}
A U D A C I O U S ─────────${audacious_bar 9,50}─
${if_match $audacious_status != "Not running"}${audacious_title 42}$endif${if_match $audacious_status == "Not running"}Pas de zizique. Fn+Bas pour démarrer $endif
S Y S T E M I N F O ${hr}
Batterie : $alignr $battery_time $battery_short ${battery_bar 9,50,80}─
CPU :$alignr${cpubar 9,50 cpu1}─${cpubar 9,50 cpu2}─
RAM:$alignr${membar 9,50}─
Disque: $alignr ${fs_bar 9,50 /}───Home─${fs_bar 9,50 /home}─
S H O R T C U T K E Y S ${hr}
Alt+F2$alignr Run Dialog
Alt+F3$alignr Alt Menu
Super+Space$alignr Main Menu
Super+Tab$alignr Client Menu
Super+t$alignr Terminal
Super+f$alignr Gestionnaire de fichiers
Super+e$alignr Editor
Super+m$alignr Media Player
Super+w$alignr Navigateur Internet
Super+l$alignr Lock Screen
Super+v$alignr Volume Control
Super+x$alignr Logout
PrtSc$alignr ScreenshotJ'ai par contre un problème de format car mes RdV peuvent prendre plus ou moins de place en nombre de lignes. Si le nombre de lignes et trop faible, le "voffset" fait trop monter et les choses se chevauchent... Il faudrait en fait que ma "sortie calcurse" fasse un nombre de lignes minimales mais sans maximum. J'ai cherché de partout mais rien trouvé d'un peu automatique, que ce soit dans Conky ou dans un script bath. A mon avis, les deux seules solutions sont, soit un script bath un peu complexe qui ferait les formats, soit la création d'un fichier Html toujours par un script bath qui pourrait formater. Est-ce que vous voyez une autre solution ? Je suis plutôt novice sur ce genre de chose (c'est mon premier Conky...) et il y a peut-être une solution plus simple u une méthode plus efficace...
Cordialement
Patrick
Hors ligne
.conkyrc
[== Indéfini ==]
# conky
#
# http://crunchbanglinux-fr.org/wiki/crunchbang:conky
#
# Enjoy! :)
##############################################
# Paramètres
##############################################
background yes
use_xft yes
xftfont Liberation Sans:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
##############################################
# Composite :
# Conky peut être bizarre avec differents composites.
# Cette astuce peut fonctionner.
##############################################
## pas de composite
own_window_type override
own_window_argb_visual no
## xcompmgr
#own_window_type override
#own_window_argb_visual yes
## cairo-compmgr
#own_window_type desktop
#own_window_argb_visual yes
##############################################
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 2000 2000
maximum_width 400
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color 656667
default_shade_color 000000
default_outline_color 828282
alignment top_right
gap_x 20
gap_y 56
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
##############################################
# Affichage
##############################################
TEXT
${color a08b61}${font Respective:size=50:bold}Q${color}${color a24749}u${color}i${color a24749}c${color}k${color}${color a24749}u${color}x${color}${image /home/quickux/images/arch-shell_logo_3.png -p 130,150}
${color a24749}${font bold}SYSTEME ${hr 2}${color}${font}
${voffset 4}${font OpenLogos:size=20}t${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=20}A${font} CPU: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=20}A${font} CPU: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=20}g${font} RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=20}j${font} SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font StyleBats:size=20}q${font} Uptime: ${color 5d93e3}${font Radio Space:bold}${alignr}${uptime}${color}${font}
${font StyleBats:size=20}3${font} Temp1: ${color f9980e}${font Radio Space}${alignr}${hwmon 0 temp 1} C${color}${font}
${font StyleBats:size=20}3${font} Temp2: ${color f9980e}${font Radio Space}${alignr}${hwmon 0 temp 2} C${color}${font}
${font StyleBats:size=20}z${font} Highest MEM $alignr PID CPU% MEM%
${color a24749}${hr 2}${color}
${top_mem name 1}$alignr${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${top_mem name 2}$alignr${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${top_mem name 3}$alignr${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color a24749}${font bold}DATE ${hr 2}${color}${font}
${font Radio Space:size=18}${alignc}${time %A %d %B %Y}
${font Radio Space:size=35}${alignc}${time %H:%M:%S}${font}
${color a24749}${font bold}PARTITIONS ${hr 2}${color}${font}
${font StyleBats:size=14}${font}Home:
${font Radio Space}${color f9980e}${voffset 4}${fs_free /home}${color}${font} <--- Libre sur ---> ${color f9980e}${font Radio Space}${fs_size /home}${color}${font}${alignr}${fs_bar 8,60 /home}
${font StyleBats:size=14}${font}Externe:
${font Radio Space}${color f9980e}${voffset 4}${fs_free /home/quickux/tmp}${color}${font} <--- Libre sur ---> ${color f9980e}${font Radio Space}${fs_size /home/quickux/tmp}${color}${font}${alignr}${fs_bar 8,60 /home/quickux/tmp}
${color a24749}${font bold}RESEAU ${hr 2}${color}${font}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 3465a4 f9980e}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 3465A4 f9980e}
${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} Local Ip: ${alignr}${addr eth0}
${color f9980e}${font OpenLogos:size=50}D^${font} ${font Respective:size=22:bold}CrunchBang${font}les polices :
Acer Aspire 8530G 3.2.0-4amd64
Hors ligne
Heuu c'est une Crunchbang, une Arch, ou ... une BSD, ton os ? x)
Sinon, les couleurs (et formes) m'inspirent ... 
Serveur : Livarp 0.3.9
PC fixe : CrunchBang BPO 10 OpenBox
PC portable : CrunchBang 11 OpenBox
PC boulot : Crunchbang 10 OpenBox
En ligne
Bonjour
Et voici le conky.rc :
# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! :)
##############################################
# Settings
##############################################
background yes
use_xft yes
xftfont Liberation Sans:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
##############################################
# Compositing tips:
# Conky can play strangely when used with
# different compositors. I have found the
# following to work well, but your mileage
# may vary. Comment/uncomment to suit.
##############################################
## no compositor
own_window_type override
own_window_argb_visual no
## xcompmgr
#own_window_type override
#own_window_argb_visual yes
## cairo-compmgr
#own_window_type desktop
#own_window_argb_visual yes
##############################################
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 240
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
#default_color 656667
default_color 94c3e0
default_shade_color 000000
default_outline_color 828282
color1 94c3e0 # données
color2 dbe7ff # titre
alignment top_right
gap_x 12
gap_y 20
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
##############################################
# Output
##############################################
TEXT
${color}${font URW Chancery L:style=Medium Italic:pixelsize=34}$alignc$nodename
${color1}${font URW Chancery L:style=Medium Italic:pixelsize=60}${time %H:%M}${font} ${font pixelsize=12}$alignr${voffset -25}${time %A}
$alignr${time %d %B}${font}${color}
${hr}
${execi 2000 fortune -s | fmt -w 43}
A G E N D A ${hr}${execi 120 ~/.conky/meteo.sh FRIF0238}${execi 120 ~/.calcurse/agenda.sh "https://www.google.com/.........../basic.ics"}
${offset 180}${execi 120 ~/.conky/meteo2.sh "Température aujourd'hui"}
${offset 185}${font weather:size=40}${execi 120 ~/.conky/meteo2.sh "Conditions aujourd'hui"}${font}
${voffset -60}${head ~/.calcurse/j0 30}
${voffset -15}${offset 180}${execi 120 ~/.conky/meteo2.sh "Température demain"}
${offset 185}${font weather:size=40}${execi 120 ~/.conky/meteo2.sh "Conditions demain"}${font}
${voffset -60}${head ~/.calcurse/j1 7}
A U D A C I O U S ─────────${audacious_bar 9,50}─
${if_match $audacious_status != "Not running"}${audacious_title 45}$endif${if_match $audacious_status == "Not running"}Pas de zizique. Fn+Bas pour démarrer$endif
S Y S T E M I N F O ${hr}
Batterie :$alignr $battery_time $battery_short ${battery_bar 9,50,80}─
CPU :$alignr${cpubar 9,50 cpu1}─${cpubar 9,50 cpu2}─
RAM:$alignr${membar 9,50}─
Disque: $alignr ${fs_bar 9,50 /}───Home─${fs_bar 9,50 /home}─
${execpi 300 ~/Images/Conky/final/galleryconky.sh ~/Images/Conky/final}
#FinJ'ai caché par des ..... l'adresse de mon agenda Google.
Pour l'Agenda, j'utilise Calcurse et le script suivant :
#!/bin/bash
# Tente de récupérer le calendrier google
SOURCE=$1
TMPCAL=~/.calcurse/tmp.ics
wget $SOURCE -O $TMPCAL
# Si c'est OK, chargement dans calcurse. Sinon, garde l'ancien
if test -s $TMPCAL
then
rm ~/.calcurse/apts
calcurse -i $TMPCAL >/dev/null 2>&1
fi
rm $TMPCAL
# Formate le fichier aujourd'hui pour Conky
aujourhui=~/.calcurse/j0
# RdV d'aujourd'hui + 35 c mac de large + remplace la date par aujourd'hui
calcurse -a | fmt -w 35 | sed "1cAujourd'hui" > $aujourhui
# Compte les lignes
i=0
while read ligne; do i=$((i+1))
done < $aujourhui
# Msg spécial si rien
if test $i -lt 1
then
echo 'Rien ce jour...' >$aujourhui
i=1
fi
# Minimum 4 lignes même vide
while test $i -lt 4
do
echo ' ' >>$aujourhui
i=$((i+1))
done
# Formate le fichier des jours suivants suivants pour Conky :
# max 35 c de large + remplace les dates par le jour de la semaine
suivants=~/.calcurse/j1
calcurse -d $(date +%m/%d/%Y -d tomorrow) | fmt -w 35 | sed '1c'$(date +%A -d tomorrow)':' > $suivants
calcurse -d $(date +%m/%d/%Y -d '2 day') | fmt -w 35 | sed '1c'$(date +%A -d '2 day')':' >> $suivants
calcurse -d $(date +%m/%d/%Y -d '3 day') | fmt -w 35 | sed '1c'$(date +%A -d '3 day')':' >> $suivants
calcurse -d $(date +%m/%d/%Y -d '4 day') | fmt -w 35 | sed '1c'$(date +%A -d '4 day')':' >> $suivants
calcurse -d $(date +%m/%d/%Y -d '5 day') | fmt -w 35 | sed '1c'$(date +%A -d '5 day')':' >> $suivants
calcurse -d $(date +%m/%d/%Y -d '5 day') | fmt -w 35 | sed '1c'$(date +%A -d '6 day')':' >> $suivantsCe script récupère l'agenda Google (ou tout autre adresse ICS sur le net), l'importe dans Calcurse si c'est OK puis crée deux fichiers préformatés : j0 pour aujourd'hui et j1 pour les jours suivants. Conky Appelle ce script qui n'affiche rien mais affiche par contre J0 et J1. L'affichage des RdV d'aujourd'hui prend 4 lignes minimum pour laisser la place à la météo à côté. Conky coupe les RdV des jours suivants à 7 lignes en cas de semaine chargée.
Pour la météo, j'ai utilisé ces infos. J'ai légèrement modifié le fichier de configuration meteo.xslt.
Le reste est assez classique, sauf pour la photo affichée où j'utilise la méthodo décrite ici mais adaptée pour 1 photo seulement et avec une taille plus petite.
A votre disposition pour plus de précision
Patrick
Hors ligne
bonsoir
A nouvelle installation nouveau conky je l ai voulu sobre dans l esprit #! waldorf
Bonne soiree
[== Indéfini ==]
# conky
#
# http://crunchbanglinux-fr.org/wiki/crunchbang:conky
#
# Enjoy! :)
##############################################
# Paramètres
##############################################
background yes
use_xft yes
xftfont Liberation Sans:size=9
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
#own_window_argb_visual yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 240
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color 656667
default_shade_color 000000
default_outline_color 828282
alignment top_right
gap_x 12
gap_y 56
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
##############################################
# Affichage
##############################################
TEXT
$alignc S Y S T E M
${voffset -6}${hr}
Hôte:$alignr$nodename
Activité:$alignr$uptime
RAM:$alignr$mem/$memmax
Swap:$alignr$swap/$swapmax
Cpu1:${offset 40}${cpu cpu1}%${alignr}${execi 30 sensors | grep 'Core 0' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'}
Cpu2:${offset 40}${cpu cpu2}%${alignr}${execi 30 sensors | grep 'Core 1' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'}
Disc:${offset 45}${fs_used_perc /home}%${alignr}${execi 300 hddtemp -n /dev/sda}°C
${if_up wlan1}Wlan1${offset 33}${wireless_link_qual wlan1}%$alignr${wireless_essid wlan1}
Ul${alignc}${upspeed wlan1}
Dl${alignc}${downspeed wlan1}
${else}${if_up wlan0}Signal Wlan0 ${alignc}${wireless_link_qual wlan0}%
Ul${alignc}${upspeed wlan0}
Dl${alignc}${downspeed wlan0}
${else}${if_up eth0}Eth0${alignc}Ul${upspeed eth0}${alignr}dl${downspeed eth0}$endif$endif$endif${if_running mocp}${voffset -6}${hr}
${alignc} M O C
${voffset -6}${hr}
${alignc}${exec mocp -Q %artist}
${alignc}${exec mocp -Q %song}
${execbar mocp -Q '%cs/%ts*100' | bc -l}
$endif${voffset -4}${hr}
$alignc R A C C O U R C I S
${voffset -6}${hr}
Alt+F2$alignr Exécute
Alt+F3$alignr Menu alternatif
Super+Space$alignr Menu
Super+Tab$alignr Menu client
Super+t$alignr Term
Super+f$alignr Thunar
Super+e$alignr Geany
Super+m$alignr Vlc
Super+w$alignr Iceweasel
Super+l$alignr Lock
Super+v$alignr Volume
Super+x$alignr Quit
PrtSc$alignr printscreen
${voffset -6}${hr}
Paris:${alignr}${tztime Europe/Paris %H:%M:%S}${font}
Casablanca:${alignr}${tztime Afric/casablanca %H:%M:%S}${font}waldorf sur nc10
waldorf, xp double boot sur hp g7000 (c' est celui du taf of course) 
Hors ligne
Hors ligne
Bonjour en fait j ai patché le kernel pour pouvoir utilisé Aicrack-ng.
je l ai recupere sur Compat-wireless.
Bonne journee
waldorf sur nc10
waldorf, xp double boot sur hp g7000 (c' est celui du taf of course) 
Hors ligne
les images nécessaires sont là Ma Config
le logo #! du conky est fait maison. Le .conkyrc est fait pour un pc "corei3", 8gigas de ram et ssd 32 gigas, utilisation du chipset graphique de la carte mère Asus P8H61. J'ai remplacé "root" par système, et "home", par "Données", pour voir les choses s'afficher en français.
# Default Fonts
use_xft yes
xftfont Verdana:size=8
override_utf8_locale yes
# Performance Settings
update_interval 1
total_run_times 0
double_buffer yes
no_buffers yes
net_avg_samples 2
text_buffer_size 1024
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Window border
draw_borders no
draw_shades no
# Default Color
default_color E0DFDE
# Color Title.
color0 DD3A21
# Size and position
minimum_size 340 720
gap_x 26
gap_y 26
alignment top_right
TEXT
${GOTO 66}${font Verdana:bold:size=9}${color #FF8300}Heure:${font}${color}${GOTO 140}${font Verdana:bold:size=12}${time %H:%M}${font}
${GOTO 66}${font Verdana:bold:size=9}${color #FF8300}Date:${GOTO 140}${font Verdana:bold:size=12}${color #CCCCCC}${time %d/%m/%Y}${font}
${GOTO 80}${font Verdana:bold:size=9}${color #FF8300}______Système______${font}${color}
${GOTO 66}Durée${GOTO 110}: ${uptime}
${GOTO 66}RAM${GOTO 110}: ${membar 5,40 CCCCCC FF8300} ${GOTO 180}${memperc} %${GOTO 220}$mem/$memmax
${GOTO 66}SWAP${GOTO 110}: ${swapbar 5,40}${GOTO 180}${swapperc} %
${GOTO 66}CPU 1${GOTO 110}: ${cpubar cpu1 5,40 CCCCCC FF8300} ${GOTO 180}${cpu cpu1} %${GOTO 220}${freq_g} GHZ
${GOTO 66}CPU 2${GOTO 110}: ${cpubar cpu2 5,40 CCCCCC FF8300} ${GOTO 180}${cpu cpu2} %${GOTO 220}${freq_g} GHZ
${GOTO 66}CPU 3${GOTO 110}: ${cpubar cpu3 5,40 CCCCCC FF8300} ${GOTO 180}${cpu cpu3} %${GOTO 220}${freq_g} GHZ
${GOTO 66}CPU 4${GOTO 110}: ${cpubar cpu4 5,40 CCCCCC FF8300} ${GOTO 180}${cpu cpu4} %${GOTO 220}${freq_g} GHZ
${GOTO 72}${cpugraph 20,170 CCCCCC FF8300}
${GOTO 80}${font Verdana:bold:size=9}${color #FF8300}______Diques______${font}${color}
${GOTO 66}Système ${GOTO 100}: ${color #CCCCCC}${fs_used /}${color #888888} / ${color #CCCCCC}${fs_size /} - ${fs_used_perc /} %
${GOTO 72}${fs_bar 5,170 /}
${GOTO 66}Données ${GOTO 100}: ${color #CCCCCC}${fs_used /home/toto}${color #888888} / ${color #CCCCCC}${fs_size /home/toto} - ${fs_used_perc /home/toto} %
${GOTO 72}${fs_bar 5,170 /home/toto}
${GOTO 80}${font Verdana:bold:size=9}${color #FF8300}______Réseau______${font}${color}
${GOTO 66}IPv4 Address ${GOTO 150}: $color4${addr eth0}$color2 $color4 ${execi 1800 ~/.conky/scripts/ip.sh}
${GOTO 72}Down : ${color #CCCCCC}${downspeed eth0}/s ${GOTO 170}Up : ${color #CCCCCC}${upspeed eth0}/s
${GOTO 72}${downspeedgraph eth0 20,70 CCCCCC FF8300} ${GOTO 170}${upspeedgraph eth0 20,70 CCCCCC FF8300}
${GOTO 72}Total : ${totaldown eth0} ${GOTO 170}Total : ${totalup eth0}
${GOTO 80}${font Verdana:bold:size=9}${color #FF8300}______Processus______${font}${color}
${GOTO 66}Nom${GOTO 160}CPU%${GOTO 240}Mem%
${GOTO 66}${top name 1}${GOTO 160}${top cpu 1}${GOTO 240}${top mem 1}
${GOTO 66}${top name 2}${GOTO 160}${top cpu 2}${GOTO 240}${top mem 2}
${GOTO 66}${top name 3}${GOTO 160}${top cpu 3}${GOTO 240}${top mem 3}
${GOTO 66}${top name 4}${GOTO 160}${top cpu 4}${GOTO 240}${top mem 4}
${GOTO 66}${top name 5}${GOTO 160}${top cpu 5}${GOTO 240}${top mem 5}
${image ~/.conky/pix/background.png -p 0,0 -s 340x832}
${image ~/.conky/pix/clock.png -p 3,24 -s 48x48}
${image ~/.conky/pix/system.png -p 3,120 -s 48x48}
${image ~/.conky/pix/drive-harddisk.png -p 3,310 -s 48x48}
${image ~/.conky/pix/network-wired.png -p 3,440 -s 48x48}
${image ~/.conky/pix/preferences-system.png -p 3,570 -s 48x48}
${image ~/.conky/pix/logo.png -p 115,715 -s 96x96}Pour les icones, vous mettez ce que vous voulez, en suivant les conseils que j'ai donnés le mois dernier. à cet endroit du site . Amusez-vous bien
Pour info, je suis sous statler (squeeze) car quelques soucis d'installation d'imprimante et problèmes de dépendances non-satisfaites sous waldorf (wheezy). J'utilise le noyau 3.2pae, les firmware-linux et xserver-xorg des dépôts bpo pour une meilleure prise en charge du matériel.
Dernière modification par fabiencharron (2013-05-01 16:08:34)
Hors ligne
Conky from scratch ! Pour dwm:
out_to_console yes
out_to_x no
background no
update_interval 1
total_run_times 0
use_spacer none
TEXT
${if_match ${battery_percent} > 6}
CPU ${cpubar cpu1 0,4} MEM ${mem}\
•\
${if_existing /proc/net/route wlan0}\
D ${downspeedf wlan0} K/s\
U ${upspeedf wlan0} K/s\
${endif}\
${if_existing /proc/net/route eth0}\
D ${downspeedf eth0} K/s\
U ${upspeedf eth0} K/s\
${endif}\
${if_existing /proc/net/route eth1}\
D ${downspeedf eth1} K/s\
U ${upspeedf eth1} K/s\
${endif}\
•\
B ${battery_percent BAT0}%\
(${execi 60 acpi -b | grep "Battery" | awk '{print $5}' | cut -c 1-5})\
•\
S / ${fs_free_perc /}%\
${else}\
${blink /!\\ Recharge Battery !! 5% left /!\\}${endif}\
• \
${time %d/%m/%Y %k:%M}La commande pour le lancer:
(conky | while read LINE; do xsetroot -name "$LINE"; done) &Hors ligne
@fabiencharron: j'aime bien ton conky! :-) Je te le pique ;-) Mais pour l'installer et le comprendre, ça sert à quoi les GOTO? C'est une référence à quoi? au pixels de l'écran?
Hors ligne