General Motors > Informatique

T'es conky ou pas ?

<< < (24/26) > >>

Rajesh Koothrappali:
Bitman > En fait j'ai 4 conkys pour la capture dans le topic fond d'écrans:

conkygeneral:

--- 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 55432f
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
${color #675233}${font Santos Dumont:size=42}System$font
${color white}$hr${color}
Machine: ${color white}$nodename$color
Kernel: ${color white}$kernel$color
Uptime: ${color white}$uptime$color

${color #675233}${font Santos Dumont:size=42}Process$font
${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 #675233}${font Santos Dumont:size=42}File systems$font
${color white}$hr${color}
/: ${alignr}${fs_free /}/${fs_size /}
${fs_bar 4 /}
/home: ${alignr}${fs_free /home}/${fs_size /home}  
${fs_bar 4 /home}
Series: ${alignr}${fs_free /media/Series}/${fs_size /media/Series}
${fs_bar 4 /media/Series}  
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}
 
${color #675233}${font Santos Dumont:size=42}Network$font
${color white}$hr${color}
IP : ${color white}${addr eth0}${color}
Up: ${upspeed eth0} /s  ${alignr}Down: ${downspeed eth0} /s
${upspeedgraph eth0 16,100}  ${downspeedgraph eth0 16,100}

${color #675233}${font Santos Dumont:size=42}Todo List$font
${color white}$hr${color}
${execi 5 cat ~/todo/1.txt | grep todo | cut -d "=" -f2}${if_existing ~/todo/1.txt}${endif}
${execi 5 cat ~/todo/2.txt | grep todo | cut -d "=" -f2}${if_existing ~/todo/2.txt}${endif}
${execi 5 cat ~/todo/3.txt | grep todo | cut -d "=" -f2}${if_existing ~/todo/3.txt}${endif}
${execi 5 cat ~/todo/4.txt | grep todo | cut -d "=" -f2}${if_existing ~/todo/4.txt}${endif}
${execi 5 cat ~/todo/5.txt | grep todo | cut -d "=" -f2}${if_existing ~/todo/5.txt}${endif}
${execi 5 cat ~/todo/6.txt | grep todo | cut -d "=" -f2}${if_existing ~/todo/6.txt}${endif}
--- Fin du code ---


conkympd:

--- Code: ---#avoid flicker
double_buffer yes

#own window to run simultanious 2 or more conkys
own_window  yes
own_window_class Conky
own_window_transparent yes
own_window_type override
own_window_hints undecorate,below,sticky,skip_taskbar,skip_pager
background yes

#borders
draw_borders no
border_margin 2

#shades
draw_shades no

#position
gap_x 50
gap_y 850
alignment top_left

#behaviour
update_interval 1

#colour
default_color  DCDCCC

#default_shade_color 000000
own_window_colour 121212

#font
use_xft yes
xftfont Santos Dumont:size=56
#to prevent window from moving
use_spacer none


mpd_host 127.0.0.1
mpd_port 6600


TEXT
${if_mpd_playing}${mpd_artist}
${color 666666}${font Santos Dumont:size=32}${voffset -50}      ${mpd_title}
${color DCDCCC}${mpd_bar 3 300}
${endif}
--- Fin du code ---


conkycalendar:

--- Code: ---# Date and Calendar
 
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

background yes

# fiddle with window
use_spacer right

# Use Xft?
use_xft yes
xftfont Bitstream Vera Sans Mono:size=9
xftalpha 0.8
text_buffer_size 2048
 
# Update interval in seconds
update_interval 10
 
# Minimum size of text are
minimum_size 5 5
maximum_width 600

# Draw shades?
draw_shades no
 
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase
 
# Stippled borders?
stippled_borders 3
 
# border margins
border_margin 9
 
# border width
border_width 10
 
# Default colors
default_color 55432f
 
# Text alignment, other possible values are commented
alignment top_left

# Gap between borders of screen
gap_x 1187
gap_y 437
 
# stuff after 'TEXT' will be formatted on screen

TEXT
${execpi 10 DJS=`date +%_d`; cal -m | sed '1d' | sed '/./!d' | sed 's/$/                     /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color2}'"$DJS"'${color}'" "/}${font}

--- Fin du code ---


conkydate:

--- Code: ---# Date and Calendar
 
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
 
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

background yes

# fiddle with window
use_spacer right

# Use Xft?
use_xft yes
xftfont unDotum:size=8
xftalpha 0.8
text_buffer_size 2048
 
# Update interval in seconds
update_interval 10
 
# Minimum size of text are
minimum_size 5 5
maximum_width 600

# Draw shades?
draw_shades no
 
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
uppercase no # set to yes if you want all text to be in uppercase
 
# Stippled borders?
stippled_borders 3
 
# border margins
border_margin 9
 
# border width
border_width 10
 
# Default colors
default_color 55432f
 
# Text alignment, other possible values are commented
alignment top_left

# Gap between borders of screen
gap_x 987
gap_y 257
 
# stuff after 'TEXT' will be formatted on screen

TEXT
${alignr 320}${font Santos Dumont:size=40}${execi 3600 date +%A\ %B\ %d\ %Y}$font

${alignr 400}${voffset -100}${font Santos Dumont:size=200}${execi 15 date +%R}$font


--- Fin du code ---




Thor941:

Rajesh Koothrappali:
Tu peux virer la partie Music si tu n'utilises pas MPD pour lire a musique, les partition Datas et Zik également ;)

Edit: même la ligne update, de toute façon la ligne fonctionnait pas chez moi ...

Thor941:

--- Citation de: Rajesh koothrappali le 19/12/09 11:05 ---Tu peux virer la partie Music si tu n'utilises pas MPD pour lire a musique, les partition Datas et Zik également ;)

Edit: même la ligne update, de toute façon la ligne fonctionnait pas chez moi ...
--- Fin de citation ---

oui j'ai vu ca apres ;)

stockholm:
la syntaxe correcte pour définir une couleur c'est bien

${color lacouleur} le truc à changer de couleur ${color}

nan ? :o

edit: ouais mais nan :o

Harry Planck:
Conky / openbox / deux trois outils gnome :



(ouais, j'ai chié avec xwd, j'pensais qu'il faisait ses fichiers seul :o)

Navigation

[0] Index des messages

[#] Page suivante

[*] Page précédente

Utiliser la version classique