General Motors > Informatique

T'es conky ou pas ?

(1/26) > >>

Shor-T:
Pour ceux qui ont conky, viendez poster un screen ainsi que le conkyrc utilisé, ça peut donner des idées aux autres :D

Bitman:
bon bah je reposte celui de hier :D



--- Code: ---# .conkyrc - Edited from various examples compiled from the web
# Used by Joel Davila [teoten.wordpress.com] on Fedora 9

# --- Window Layout & Options --- #
own_window yes
own_window_colour brown
own_window_transparent yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
use_spacer right
use_xft yes
alignment top_right
gap_x 10
gap_y 40

# --- Colours, Sizes, Fonts & Margins --- #
update_interval 2.0
maximum_width 250
stippled_borders 3
border_margin 9
border_width 10
default_color grey

# --- Text --- #
draw_outline no
draw_borders no
font Bitstream Vera Sans:size=10:weight=bold
uppercase no
draw_shades yes

TEXT

${color orange}SYSTEM INFORMATION ${hr 2}$color
${color white}${time %A},${time %e} ${time %B} ${time %G}${alignr}${time %H:%M:%S}
${color white}Machine$color $nodename
${color white}Uptime$color $uptime
${color white}Kernel$color  $kernel
${color white}Architecture $color $machine

${color orange}CPU ${hr 2}$color
${font Arial:bold:size=8}${color #ff9999}${execi 99999 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'}$font$color
${color white}Fréquence :${color #ff9999}$alignr $freq_dyn ${color white}MHz
${color white}Processes:${color lightgrey} $processes ${color white}$alignr Run:${color lightgrey} $running_processes
${color white}CPU Fan :${alignr}${color lightgrey} ${platform it87.656 fan 1} RPM
${color white}Motherboard : ${alignr}${color lightgrey}${platform it87.656 temp 3}°C
${stippled_hr}
Core 1 $alignr Core 2
${cpugraph cpu1 25,120 42AE4A eeeeee} $alignr${cpugraph cpu2 25,120 42AE4A eeeeee}
${platform it87.656 temp 1}°C ${alignr}${platform it87.656 temp 2}°C

${color orange}TOP 5 PROCESSES ${hr 2}$color
${color #ff9999}NAME               PID      CPU      MEM
${color #ffff99}1. ${top name 1}${top pid 1}   ${top cpu 1}   ${top mem 1}$color
2. ${top name 2}${top pid 2}   ${top cpu 2}   ${top mem 2}
3. ${top name 3}${top pid 3}   ${top cpu 3}   ${top mem 3}
4. ${top name 4}${top pid 4}   ${top cpu 4}   ${top mem 4}
5. ${top name 5}${top pid 5}   ${top cpu 5}   ${top mem 5}

${color orange}MEMORY & SWAP ${hr 2}$color
${color white}RAM$color   $memperc%   ${membar 6}$color
${color white}Swap$color  $swapperc%   ${swapbar 6}$color

${color orange}FILESYSTEM ${hr 2}$color
${color white} ${fs_free_perc /}%$alignr${fs_free /}/ ${fs_size /}
${fs_bar 3 /}$color

${color orange}NETWORK (${addr eth0}) ${hr 2}$color
${color white}Down:$color  ${downspeed eth0} Ko/s${alignr}${color white}Up:$color ${upspeed eth0} Ko/s
${downspeedgraph eth0 25,120 000000 00ff00} ${alignr}${upspeedgraph eth0 25,120 000000 ff0000}$color

${hr 2}
${color green}${execi 120 ~/.conky/meteo.sh FRXX0006}Météo à ${execi 120 ~/.conky/meteo2.sh "Ville"}
${color}Aujourd'hui : ${execi 120 ~/.conky/meteo2.sh "Température aujourd'hui"}  ${font weather:size=40}${voffset -18}${execi 120 ~/.conky/meteo2.sh "Conditions aujourd'hui"}${font}${voffset -11}
Vent : ${execi 120 ~/.conky/meteo2.sh "Vent aujourd'hui"}
Lever du soleil : ${execi 120 ~/.conky/meteo2.sh "Lever du soleil"}
Coucher du soleil : ${execi 120 ~/.conky/meteo2.sh "Coucher du soleil"}
Demain : ${execi 120 ~/.conky/meteo2.sh "Température demain"}  ${font weather:size=32}${voffset -10}${execi 120 ~/.conky/meteo2.sh "Conditions demain"}${font}

--- Fin du code ---

Shor-T:
http://www.mydoom666.com/2008/01/bashfr-dans-votre-terminal/

Pour les fans de bashfr on peut l'intégrer direct dans conky :D

John Henry:



--- Code: ---# maintain spacing between certain elements
use_spacer yes

# set to yes if you want conky to be forked in the background
background no

use_xft yes

# Xft font when Xft is enabled
xftfont Monospace-10
#xftfont Andale Mono-9
#xftfont Clean-8
#xftfont cubicfive10:pixelsize=8
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=10

# Text alpha when using Xft
xftalpha 1
mail_spool $MAIL

# Update interval in seconds
update_interval 1.0

# Create own window instead of using desktop (required in nautilus)
own_window no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 280 5

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no # amplifies text

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 9

# border width
border_width 1

# Default colors and also border colors, grey90 == 95d934
default_color 95d934
default_shade_color darkgrey
default_outline_color lightgrey

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 24
gap_y 24

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no


# In order to work with xcompmgr
own_window yes
own_window_transparent yes
own_window_type desktop

# stuff after 'TEXT' will be formatted on screen

TEXT
$color${time %A %d %B %Y} ${alignr}${time %H:%M:%S}

${color f2f65b}LOCAL WEATHER
   ${color 95d934}${execi 1800 /opt/conky/scripts/weather/weather.sh FRXX0114}

${color f2f65b}PROCESSING$color
   CPU:$color ${alignr}${exec expr `cat /sys/bus/i2c/devices/1-002d/temp1_input` / 1000}°C
   ${color b0ec5a}$cpubar
   ${color b0ec5a}${cpugraph f2f65b f2f65b}
   ${color 95d934}
   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 f2f65b}DATA$color
   RAM:$color ${alignr}$mem
   ${color b0ec5a}${membar 6}${color}

   NAME             PID      CPU%      MEM%
   ${top_mem name 1} ${top_mem pid 1}   ${top_mem cpu 1}    ${top_mem mem 1}
   ${top_mem name 2} ${top_mem pid 2}   ${top_mem cpu 2}    ${top_mem mem 2}
   ${top_mem name 3} ${top_mem pid 3}   ${top_mem cpu 3}    ${top_mem mem 3}
   ${top_mem name 4} ${top_mem pid 4}   ${top_mem cpu 4}    ${top_mem mem 4}

   Swap:$color ${alignr}$swap
   ${color b0ec5a}${swapbar 6}$color

   /:$color              ${fs_free /}${fs_size /} ${alignr}${fs_used_perc /}%
   ${color b0ec5a}${fs_bar 6 /}$color
   /home:$color        ${fs_free /home} ${fs_size /home} ${alignr}${fs_used_perc /home}%
   ${color b0ec5a}${fs_bar 6 /home}$color
   /mnt/sg1:$color        ${fs_free /mnt/sg1} ${fs_size /mnt/sg1} ${alignr}${fs_used_perc /mnt/sg1}%
   ${color b0ec5a}${fs_bar 6 /mnt/sg1}$color
   /mnt/sg2:$color        ${fs_free /mnt/sg2} ${fs_size /mnt/sg2} ${alignr}${fs_used_perc /mnt/sg2}%
   ${color b0ec5a}${fs_bar 6 /mnt/sg2}$color
   /mnt/sg3:$color        ${fs_free /mnt/sg3} ${fs_size /mnt/sg3} ${alignr}${fs_used_perc /mnt/sg3}%
   ${color b0ec5a}${fs_bar 6 /mnt/sg3}$color
   
   
   Down: ${downspeed eth0}k/s            Up: ${upspeed eth0}k/s
   ${color b0ec5a}${downspeedgraph eth0 32,200 f2f65b f2f65b} ${upspeedgraph eth0 32,200 f2f65b f2f65b}
--- Fin du code ---

captain_beefheart:



--- Code: ---
background yes
use_xft yes
xftfont HandelGotD:size=8
xftalpha 0.1
update_interval 0.5
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 4000
maximum_width 300
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color black
default_outline_color white
alignment bottom_left
gap_x 8
gap_y 8
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale no
use_spacer yes

TEXT
${font monaco black:size=8}${alignc}$mpd_artist
${alignc}$mpd_title
$mpd_bar
${alignc}$mpd_status
${font verdana:size=8 style=bold}
Freq: $alignr ${freq_g cpu0}Ghz
Laptop-Mode $alignr Mode${laptop_mode}
Battery $alignr ${battery_percent}%
${font monaco black:size=48}${time %e}${font
verdana:size=26}${font
tahoma:size=20}${time %B}
${font monaco black:size=16}${time %T}

--- Fin du code ---


Tout simple, juste pour compenser l'absence de panel :d

Navigation

[0] Index des messages

[#] Page suivante

Utiliser la version classique