General Motors > Informatique
T'es conky ou pas ?
captain_beefheart:
En plus ça overclock ma batterie tavu
Shor-T:
Batterie : 106%
OLOL §§§
Bitman:
hop la date comme ca j'aime, je le prends :D
Shor-T:
--- Code: ---# --- Window Layout & Options --- #
own_window yes
own_window_class Conky
own_window_type override
own_window_transparent yes
gap_x 10
gap_y 60
alignment top_right
background yes
double_buffer yes
# --- Colours, Sizes, Fonts & Margins --- #
use_xft yes
xftalpha 0.8
xftfont Bitstream Vera Sans Mono:size=9
update_interval 1.0
default_color black
default_outline_color black
default_shade_color black
# --- Text --- #
uppercase no
# Border width
border_width 1
cpu_avg_samples 2
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
net_avg_samples 2
no_buffers yes
out_to_console no
stippled_borders 0
show_graph_scale no
show_graph_range no
# Stuff after 'TEXT' will be formatted on screen
TEXT
System
${color white}$hr${color}
Machine: ${color white}$nodename$color
Kernel: ${color white}$kernel$color
Uptime: ${color white}$uptime$color
Update: ${color white}${execi 10800 /opt/scripts/update.pl}$color
Music
${color white}$hr${color}
${alignc}$mpd_artist
${alignc}$mpd_title
$mpd_bar
Process
${color white}$hr${color}
CPU: ${alignr}$cpu%
${cpugraph}
RAM:$color ${alignr}$mem
${membar 4}
NAME PID CPU% MEM%
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color black}File systems${color}
${color white}$hr${color}
Swap: ${alignr}$swap
${swapbar 4}
/: ${alignr}${fs_free /}/${fs_size /}
${fs_bar 4 /}
/home: ${alignr}${fs_free /home}/${fs_size /home}
${fs_bar 4 /home}
Datas: ${alignr}${fs_free /media/Datas}/${fs_size /media/Datas}
${fs_bar 4 /media/Datas}
Zik: ${alignr}${fs_free /media/Zik}/${fs_size /media/Zik}
${fs_bar 4 /media/Zik}
Network
${color white}$hr${color}
IP : ${color white}${addr eth0}${color}
Up: ${upspeed eth0} k/s ${alignr}Down: ${downspeed eth0} k/s
${upspeedgraph eth0 16,100} ${downspeedgraph eth0 16,100}
--- Fin du code ---
Bitman:
Dites, j'ai une idée mais je trouve pas comment finaliser le truc
Je veux un truc qui pingue genre toute les minutes et affiche le status genre [#46ff00]ONLINE[/#46ff00] ou [#f0000e]OFFLINE[/#f0000e]
pour le moment j'ai ca mais c'est merdox :
--- Code: ---${color #ffcb48}PING$color ${color #98c2c7}ROUTEUR ${color}${texeci 50 sh -c "ping -q -c1 192.168.1.1 | tail -n 2" }
--- Fin du code ---
une idée ?
EDIT j'en ai fais un mieux :
--- Code: ---ROUTEUR ${execi 50 sh -c "ping -c1 192.168.1.1 | tail -n 5 | head -n 1 | cut -d'=' -f4" }
--- Fin du code ---
par contre j'ai pas l'impression que ca refresh, comment se fait ce ? [:bitman1er:4]
EDIT 2 ui c bon j'ai mis l'execi a 60 finalement ca suffit :D
Bitman:
finalement c mieux le temps que ON OFF non ? :D
Navigation
[#] Page suivante
[*] Page précédente
Utiliser la version classique